mirror of
https://github.com/samba-team/samba.git
synced 2025-03-01 04:58:35 +03:00
s3/time_audit: fix a change that was just for debuggin purposeѕ
Autobuild-User: Björn Jacke <bjacke@samba.org> Autobuild-Date: Wed Nov 10 12:28:41 UTC 2010 on sn-devel-104
This commit is contained in:
parent
7e3419f32f
commit
fa203f4541
@ -838,10 +838,10 @@ static int smb_time_audit_chdir(vfs_handle_struct *handle, const char *path)
|
||||
clock_gettime_mono(&ts1);
|
||||
result = SMB_VFS_NEXT_CHDIR(handle, path);
|
||||
clock_gettime_mono(&ts2);
|
||||
timediff = nsec_time_diff(&ts2,&ts1);
|
||||
timediff = nsec_time_diff(&ts2,&ts1)*1.0e-9;
|
||||
|
||||
if (timediff > audit_timeout) {
|
||||
smb_time_audit_log("chdir", timediff*1.0e-9);
|
||||
smb_time_audit_log("chdir", timediff);
|
||||
}
|
||||
|
||||
return result;
|
||||
|
Loading…
x
Reference in New Issue
Block a user