]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: smbd: Use new debug macros
authorSamuel Cabrero <scabrero@samba.org>
Tue, 13 Apr 2021 15:03:33 +0000 (17:03 +0200)
committerSamuel Cabrero <scabrero@sn-devel-184>
Mon, 19 Apr 2021 12:28:30 +0000 (12:28 +0000)
Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/dosmode.c

index 705e537a42acc626934ea5d815df08b98d9b606b..915419c7e617c05a66818d8f5a22ad20c8f30879 100644 (file)
@@ -1210,14 +1210,14 @@ int file_ntimes(connection_struct *conn, const struct smb_filename *smb_fname,
 
        errno = 0;
 
-       DEBUG(6, ("file_ntime: actime: %s",
-                 time_to_asc(convert_timespec_to_time_t(ft->atime))));
-       DEBUG(6, ("file_ntime: modtime: %s",
-                 time_to_asc(convert_timespec_to_time_t(ft->mtime))));
-       DEBUG(6, ("file_ntime: ctime: %s",
-                 time_to_asc(convert_timespec_to_time_t(ft->ctime))));
-       DEBUG(6, ("file_ntime: createtime: %s",
-                 time_to_asc(convert_timespec_to_time_t(ft->create_time))));
+       DBG_INFO("actime: %s",
+                time_to_asc(convert_timespec_to_time_t(ft->atime)));
+       DBG_INFO("modtime: %s",
+                time_to_asc(convert_timespec_to_time_t(ft->mtime)));
+       DBG_INFO("ctime: %s",
+                time_to_asc(convert_timespec_to_time_t(ft->ctime)));
+       DBG_INFO("createtime: %s",
+                time_to_asc(convert_timespec_to_time_t(ft->create_time)));
 
        /* Don't update the time on read-only shares */
        /* We need this as set_filetime (which can be called on