summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2010-09-17 14:05:53 +0200
committerBjörn Jacke <bj@sernet.de>2010-09-17 14:05:53 +0200
commit1a22b1b44df62931a35254d06d2fc638c996c5f7 (patch)
tree92515453cec2fc1d3fb8acf7cf30bae81a5b7b86
parent10eefd85c988503309021316f744ebb25579b873 (diff)
downloadsamba-1a22b1b44df62931a35254d06d2fc638c996c5f7.tar.gz
samba-1a22b1b44df62931a35254d06d2fc638c996c5f7.tar.bz2
samba-1a22b1b44df62931a35254d06d2fc638c996c5f7.zip
lib/util: usec_time_diff takes arguments the other way round than TvalDiff did
-rw-r--r--lib/util/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/util.c b/lib/util/util.c
index 296a2a6c68..11bb315176 100644
--- a/lib/util/util.c
+++ b/lib/util/util.c
@@ -206,7 +206,7 @@ _PUBLIC_ void smb_msleep(unsigned int t)
t1 = t2;
}
- tdiff = usec_time_diff(&t1,&t2)/1000;
+ tdiff = usec_time_diff(&t2,&t1)/1000;
}
#endif
}