projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54ed125
)
gettime: fix unitialized variable on Solaris
author
Jens Axboe
<axboe@fb.com>
Thu, 29 Jan 2015 16:32:28 +0000
(08:32 -0800)
committer
Jens Axboe
<axboe@fb.com>
Thu, 29 Jan 2015 16:32:28 +0000
(08:32 -0800)
Signed-off-by: Jens Axboe <axboe@fb.com>
gettime.c
patch
|
blob
|
blame
|
history
diff --git
a/gettime.c
b/gettime.c
index 8419fe4bb9d2b46864c8f53909352936b420a4b1..8bc84139a92d75abddb4eaa5b1c1c503450382a1 100644
(file)
--- a/
gettime.c
+++ b/
gettime.c
@@
-478,7
+478,7
@@
static void *clock_thread_fn(void *data)
int i;
if (fio_cpuset_init(&cpu_mask)) {
- int __err;
+ int __err
= errno
;
log_err("clock cpuset init failed: %s\n", strerror(__err));
goto err_out;