commit | caa3eb1c86f9ca0e0063485f0ff0a1fca0dc3af2 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Mon Apr 14 09:05:46 2014 -0600 |
committer | Jens Axboe <axboe@fb.com> | Mon Apr 14 09:05:46 2014 -0600 |
tree | b5b9924c4514e93a8da3027587fe697f818d185b | |
parent | 21beb609b6f1ce2b96209857d05fd03fb239b925 [diff] [blame] |
gettime: use unsigned loop counter We're comparing with an unsigned exit condition. Signed-off-by: Jens Axboe <axboe@fb.com>
diff --git a/gettime.c b/gettime.c index c6d45f8..98e83b8 100644 --- a/gettime.c +++ b/gettime.c
@@ -537,7 +537,7 @@ 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");