From: Volker Lendecke Date: Thu, 22 Jun 2023 09:19:29 +0000 (+0200) Subject: smbd: Modernize two DEBUG statements X-Git-Tag: talloc-2.4.1~145 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=16ae3c2e26dbb1af45df99db373d671f83babd45;p=thirdparty%2Fsamba.git smbd: Modernize two DEBUG statements Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme --- diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c index 6ad2d5c9484..cb774ff55b6 100644 --- a/source3/smbd/dir.c +++ b/source3/smbd/dir.c @@ -793,8 +793,11 @@ bool smbd_dirptr_get_entry(TALLOC_CTX *ctx, } if (!dir_check_ftype(mode, dirtype)) { - DEBUG(5,("[%s] attribs 0x%x didn't match 0x%x\n", - fname, (unsigned int)mode, (unsigned int)dirtype)); + DBG_INFO("[%s] attribs 0x%" PRIx32 " didn't match " + "0x%" PRIx32 "\n", + fname, + mode, + dirtype); TALLOC_FREE(smb_fname); TALLOC_FREE(dname); TALLOC_FREE(fname); @@ -814,10 +817,11 @@ bool smbd_dirptr_get_entry(TALLOC_CTX *ctx, } } - DEBUG(3,("smbd_dirptr_get_entry mask=[%s] found %s " - "fname=%s (%s)\n", - mask, smb_fname_str_dbg(smb_fname), - dname, fname)); + DBG_NOTICE("mask=[%s] found %s fname=%s (%s)\n", + mask, + smb_fname_str_dbg(smb_fname), + dname, + fname); TALLOC_FREE(dname);