]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: Modernize two DBG statements
authorVolker Lendecke <vl@samba.org>
Thu, 31 Aug 2023 09:37:00 +0000 (11:37 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 10 Oct 2023 23:23:40 +0000 (23:23 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/open.c

index 258a41f2c854a54db3dd2d00d581addfae64016c..72d22a17cf335bf0db6464a2f5d89b2ed8dc61ac 100644 (file)
@@ -3819,12 +3819,11 @@ static NTSTATUS open_file_ntcreate(connection_struct *conn,
                        *pinfo = FILE_WAS_CREATED;
                }
 
-               DEBUG(10, ("open_file_ntcreate: printer open fname=%s\n",
-                          smb_fname_str_dbg(smb_fname)));
+               DBG_DEBUG("printer open fname=%s\n",
+                         smb_fname_str_dbg(smb_fname));
 
                if (!req) {
-                       DEBUG(0,("open_file_ntcreate: printer open without "
-                               "an SMB request!\n"));
+                       DBG_ERR("printer open without an SMB request!\n");
                        return NT_STATUS_INTERNAL_ERROR;
                }