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;