git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e3419f
)
s3/time_audit: fix a change that was just for debuggin purposeѕ
author
Björn Jacke
<bj@sernet.de>
Wed, 10 Nov 2010 11:39:41 +0000
(12:39 +0100)
committer
Bjoern Jacke
<bj@sernet.de>
Wed, 10 Nov 2010 12:28:41 +0000
(12:28 +0000)
Autobuild-User: Björn Jacke <bjacke@samba.org>
Autobuild-Date: Wed Nov 10 12:28:41 UTC 2010 on sn-devel-104
source3/modules/vfs_time_audit.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_time_audit.c
b/source3/modules/vfs_time_audit.c
index 4e6d65e688fa2014a9430c1ae0d82c6ea60b41ed..84e41753ed9746d32fd56ad70b0b6a6350cb40f5 100644
(file)
--- 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;