From 6e7a1cc646786a51cedbdb971bf7b17b34eff652 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 20 Jun 2024 20:06:44 +0200 Subject: [PATCH] smbd: Modernize a DEBUG Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source3/smbd/dosmode.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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, -- 2.47.2