summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2010-11-10 12:39:41 +0100
committerBjoern Jacke <bj@sernet.de>2010-11-10 12:28:41 +0000
commitfa203f4541190b01b1f82f1ff9a47c31152c2412 (patch)
tree682c4e5169d126f2c578630066fa19d464d827a2
parent7e3419f32f0a46cbd4926cbc98bf54da27749d31 (diff)
downloadsamba-fa203f4541190b01b1f82f1ff9a47c31152c2412.tar.gz
samba-fa203f4541190b01b1f82f1ff9a47c31152c2412.tar.bz2
samba-fa203f4541190b01b1f82f1ff9a47c31152c2412.zip
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
-rw-r--r--source3/modules/vfs_time_audit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/vfs_time_audit.c b/source3/modules/vfs_time_audit.c
index 4e6d65e688..84e41753ed 100644
--- a/source3/modules/vfs_time_audit.c
+++ b/source3/modules/vfs_time_audit.c
@@ -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;