From: Volker Lendecke Date: Thu, 20 Jun 2024 18:06:44 +0000 (+0200) Subject: smbd: Modernize a DEBUG X-Git-Tag: tdb-1.4.11~305 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=6e7a1cc646786a51cedbdb971bf7b17b34eff652;p=thirdparty%2Fsamba.git smbd: Modernize a DEBUG Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/dosmode.c b/source3/smbd/dosmode.c index fac226459ce..8b47a89dec4 100644 --- a/source3/smbd/dosmode.c +++ b/source3/smbd/dosmode.c @@ -457,10 +457,11 @@ NTSTATUS set_ea_dos_attribute(connection_struct *conn, dosattrib.info.info5.create_time = full_timespec_to_nt_time( &smb_fname->st.st_ex_btime); - DEBUG(10,("set_ea_dos_attributes: set attribute 0x%x, btime = %s on file %s\n", - (unsigned int)dosmode, - time_to_asc(convert_timespec_to_time_t(smb_fname->st.st_ex_btime)), - smb_fname_str_dbg(smb_fname) )); + DBG_DEBUG("set attribute 0x%" PRIx32 ", btime = %s on file %s\n", + dosmode, + time_to_asc(convert_timespec_to_time_t( + smb_fname->st.st_ex_btime)), + smb_fname_str_dbg(smb_fname)); ndr_err = ndr_push_struct_blob( &blob, talloc_tos(), &dosattrib,