From 72cdefbb72d3bd376fbcaa97c41666388cc31e92 Mon Sep 17 00:00:00 2001 From: Zev Weiss Date: Sat, 30 Mar 2013 19:19:50 -0500 Subject: [PATCH] Print io_submit() offsets in decimal This makes output formatting more consistent with pread()/pwrite(), which print their offset parameters in decimal. * desc.c (sys_io_submit): Change offset output format from %llx to %lld. Signed-off-by: Zev Weiss --- desc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desc.c b/desc.c index 69d9e438..cd2c8572 100644 --- a/desc.c +++ b/desc.c @@ -913,13 +913,13 @@ sys_io_submit(struct tcb *tcp) } else #endif tprintf(", buf:%p", iocb.u.c.buf); - tprintf(", nbytes:%lu, offset:%llx", + tprintf(", nbytes:%lu, offset:%lld", iocb.u.c.nbytes, iocb.u.c.offset); print_common_flags(&iocb); break; case SUB_VECTOR: - tprintf(", %llx", iocb.u.v.offset); + tprintf(", %lld", iocb.u.v.offset); print_common_flags(&iocb); tprints(", "); tprint_iov(tcp, iocb.u.v.nr, -- 2.40.0