t/aio-ring: print head/tail as unsigneds
[fio.git] / t / aio-ring.c
index 0d53b574bc3a5de897b990787cae1ebb841fb4c8..900f4640c6bba3d6c2cdb22f31ed4ba738581b03 100644 (file)
@@ -443,7 +443,7 @@ int main(int argc, char *argv[])
                        rpc = (this_done - done) / (this_call - calls);
                        ipc = (this_reap - reap) / (this_call - calls);
                }
-               printf("IOPS=%lu, IOS/call=%lu/%lu, inflight=%u (head=%d tail=%d), Cachehit=%0.2f%%\n",
+               printf("IOPS=%lu, IOS/call=%lu/%lu, inflight=%u (head=%u tail=%u), Cachehit=%0.2f%%\n",
                                this_done - done, rpc, ipc, s->inflight,
                                s->cq_ring->head, s->cq_ring->tail, hit);
                done = this_done;