commit | aa28ce06b137498bdf26d5e29d80aa5689ffa8d1 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Thu Jan 29 08:32:28 2015 -0800 |
committer | Mohamad Ayyash <mkayyash@google.com> | Fri Mar 06 17:58:15 2015 -0800 |
tree | 0f8e1a563e11a0efe550590df469057e99a7adb9 | |
parent | 3c9c470a4b176c739ad58e335f92fedbe549177f [diff] [blame] |
gettime: fix unitialized variable on Solaris Signed-off-by: Jens Axboe <axboe@fb.com>
diff --git a/gettime.c b/gettime.c index 8419fe4..8bc8413 100644 --- a/gettime.c +++ b/gettime.c
@@ -478,7 +478,7 @@ 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;