s3:smbd: Make clear that we got a suicide packet
authorAndreas Schneider <asn@samba.org>
Thu, 21 Mar 2019 10:17:58 +0000 (11:17 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 21 Mar 2019 20:38:32 +0000 (20:38 +0000)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/process.c

index 90cab33a761f9420b53c83f272a8dfe410dd6ffd..d6545101f0157f1541392f2d80cd383f4fd62066 100644 (file)
@@ -1984,8 +1984,8 @@ static void process_smb(struct smbXsrv_connection *xconn,
                    (IVAL(inbuf, 4) == SMB_SUICIDE_PACKET) &&
                    lp_parm_bool(-1, "smbd", "suicide mode", false)) {
                        uint8_t exitcode = CVAL(inbuf, 8);
-                       DEBUG(1, ("Exiting immediately with code %d\n",
-                                 (int)exitcode));
+                       DBG_WARNING("SUICIDE: Exiting immediately with code %d\n",
+                                   (int)exitcode);
                        exit(exitcode);
                }