From: Volker Lendecke Date: Thu, 31 Aug 2023 09:37:00 +0000 (+0200) Subject: smbd: Modernize two DBG statements X-Git-Tag: tevent-0.16.0~175 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=94dcbed38dbc094a6b9a961b9dbeedd38aa3d5a6;p=thirdparty%2Fsamba.git smbd: Modernize two DBG statements Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 258a41f2c85..72d22a17cf3 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -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; }