From: Dmitry V. Levin Date: Thu, 26 May 2016 12:33:21 +0000 (+0000) Subject: block.c: fix printing of uint64_t pairs X-Git-Tag: v4.12~47 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=46d25c2b84bf834a8e6f7e00103a0304a8a7b1a2;p=strace block.c: fix printing of uint64_t pairs * block.c (block_ioctl): Print uint64_t values using PRIu64 format. --- diff --git a/block.c b/block.c index 755232aa..5c81e8d2 100644 --- a/block.c +++ b/block.c @@ -194,7 +194,7 @@ block_ioctl(struct tcb *tcp, const unsigned int code, const long arg) case BLKSECDISCARD: case BLKZEROOUT: tprints(", "); - printpair_int64(tcp, arg, "%" PRIx64); + printpair_int64(tcp, arg, "%" PRIu64); break; /* More complex types */