projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21beb60
)
gettime: use unsigned loop counter
author
Jens Axboe
<axboe@fb.com>
Mon, 14 Apr 2014 15:05:46 +0000
(09:05 -0600)
committer
Jens Axboe
<axboe@fb.com>
Mon, 14 Apr 2014 15:05:46 +0000
(09:05 -0600)
We're comparing with an unsigned exit condition.
Signed-off-by: Jens Axboe <axboe@fb.com>
gettime.c
patch
|
blob
|
blame
|
history
diff --git
a/gettime.c
b/gettime.c
index c6d45f8761f799e9e324b2f95f9b4bff40a56158..98e83b85a6b55ef2a059ced730459e1f9c1697a2 100644
(file)
--- a/
gettime.c
+++ b/
gettime.c
@@
-537,7
+537,7
@@
int fio_monotonic_clocktest(void)
unsigned long tentries, failed;
struct clock_entry *prev, *this;
uint32_t seq = 0;
- int i;
+
unsigned
int i;
log_info("cs: reliable_tsc: %s\n", tsc_reliable ? "yes" : "no");