From fa203f4541190b01b1f82f1ff9a47c31152c2412 Mon Sep 17 00:00:00 2001 From: Björn Jacke Date: Wed, 10 Nov 2010 12:39:41 +0100 Subject: s3/time_audit: fix a change that was just for debuggin purposeѕ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Autobuild-User: Björn Jacke Autobuild-Date: Wed Nov 10 12:28:41 UTC 2010 on sn-devel-104 --- source3/modules/vfs_time_audit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/modules') 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; -- cgit