]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: Modernize a DEBUG
authorVolker Lendecke <vl@samba.org>
Thu, 20 Jun 2024 18:06:44 +0000 (20:06 +0200)
committerJeremy Allison <jra@samba.org>
Mon, 24 Jun 2024 16:21:32 +0000 (16:21 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/dosmode.c

index fac226459cef2acc1b775af99600f7aae1e0a3d0..8b47a89dec4f5623cbb1620448c588ad442a5811 100644 (file)
@@ -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,