projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
10adc4a
)
gettime.h: use time_t instead of size_t for copy of tv_sec
author
Castor Fu
<castor@egocast.org>
Fri, 13 Feb 2015 14:46:04 +0000
(06:46 -0800)
committer
Jens Axboe
<axboe@fb.com>
Mon, 16 Feb 2015 21:58:56 +0000
(14:58 -0700)
This addresses a small nit that our compiler was complaining about.
Thanks!
Signed-off-by: Jens Axboe <axboe@fb.com>
gettime.h
patch
|
blob
|
blame
|
history
diff --git
a/gettime.h
b/gettime.h
index eb3537b15b9d7b4fc29155b830e39b9dd108cd7a..86d55bd9d6298b69de406a3d7209184ba786db0a 100644
(file)
--- a/
gettime.h
+++ b/
gettime.h
@@
-24,7
+24,7
@@
extern struct timeval *fio_tv;
static inline int fio_gettime_offload(struct timeval *tv)
{
static inline int fio_gettime_offload(struct timeval *tv)
{
-
siz
e_t last_sec;
+
tim
e_t last_sec;
if (!fio_tv)
return 0;
if (!fio_tv)
return 0;