From: Volker Lendecke Date: Mon, 24 Jun 2024 12:06:18 +0000 (+0200) Subject: smbd: Modernize a DEBUG X-Git-Tag: tdb-1.4.11~267 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0db47112bba013ed1fa9e371a50d34ed8db854ba;p=thirdparty%2Fsamba.git smbd: Modernize a DEBUG Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme --- diff --git a/source3/smbd/smb1_nttrans.c b/source3/smbd/smb1_nttrans.c index f89cddb2501..001e3be6df9 100644 --- a/source3/smbd/smb1_nttrans.c +++ b/source3/smbd/smb1_nttrans.c @@ -563,18 +563,20 @@ void reply_ntcreate_and_X(struct smb_request *req) goto out; } - DEBUG(10,("reply_ntcreate_and_X: flags = 0x%x, access_mask = 0x%x " - "file_attributes = 0x%x, share_access = 0x%x, " - "create_disposition = 0x%x create_options = 0x%x " - "root_dir_fid = 0x%x, fname = %s\n", - (unsigned int)flags, - (unsigned int)access_mask, - (unsigned int)file_attributes, - (unsigned int)share_access, - (unsigned int)create_disposition, - (unsigned int)create_options, - (unsigned int)root_dir_fid, - fname)); + DBG_DEBUG("flags = 0x%" PRIx32 ", access_mask = 0x%" PRIx32 + ", file_attributes = 0x%" PRIx32 + ", share_access = 0x%" PRIx32 + ", create_disposition = 0x%" PRIx32 + ", create_options = 0x%" PRIx32 ", root_dir_fid = 0x%" PRIx32 + ", fname = %s\n", + flags, + access_mask, + file_attributes, + share_access, + create_disposition, + create_options, + root_dir_fid, + fname); /* * we need to remove ignored bits when they come directly from the client