projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rbd: remove duplicate _fio_rbd_connect
[fio.git]
/
mutex.c
diff --git
a/mutex.c
b/mutex.c
index e5b045ec91bc0348234eff8cf3f5ff265a9253cf..5e5a0648161de8767bbee98e42ac71d1bef94062 100644
(file)
--- a/
mutex.c
+++ b/
mutex.c
@@
-162,7
+162,7
@@
int fio_mutex_down_timeout(struct fio_mutex *mutex, unsigned int msecs)
t.tv_nsec = tv_s.tv_usec * 1000;
t.tv_sec += msecs / 1000;
- t.tv_nsec += ((msecs * 1000000) % 1000000000);
+ t.tv_nsec += ((msecs * 1000000
ULL
) % 1000000000);
if (t.tv_nsec >= 1000000000) {
t.tv_nsec -= 1000000000;
t.tv_sec++;