summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}