Fixup bad logging types
[fio.git] / io_u.c
diff --git a/io_u.c b/io_u.c
index 7941a6d739483edfc5e3b3e81403716133eee97a..19ef7b9f30fe0f2888d16e2ff1261fd99788b304 100644 (file)
--- a/io_u.c
+++ b/io_u.c
@@ -314,8 +314,7 @@ static int get_next_block(struct thread_data *td, struct io_u *io_u,
                else if (b != -1ULL)
                        io_u->offset = b * td->o.ba[ddir];
                else {
-                       log_err("fio: bug in offset generation: offset=%llu, b=%llu\n",
-                                                               offset, b);
+                       log_err("fio: bug in offset generation: offset=%llu, b=%llu\n", (unsigned long long) offset, (unsigned long long) b);
                        ret = 1;
                }
        }