From 4013a9be11403088c964fa7da480002933c4b43c Mon Sep 17 00:00:00 2001 From: bde Date: Sat, 25 May 2002 11:12:30 +0000 Subject: "Fixed" printf format errors (64-bit daddr_t casualties; should use %jx instead of %llx when %j is available). Changed nearby output formats from %x to %#x so that it is obvious that the numbers are in hex (vinum mostly uses 0x%x elsewhere). Didn't fix nearby format printf errors (long lines). --- sys/dev/vinum/vinumrequest.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/vinum/vinumrequest.c b/sys/dev/vinum/vinumrequest.c index ba4a273..8e6834a 100644 --- a/sys/dev/vinum/vinumrequest.c +++ b/sys/dev/vinum/vinumrequest.c @@ -636,10 +636,10 @@ bre(struct request *rq, (u_int) sd->sectors, bp->b_blkno); log(LOG_DEBUG, - "vinum: stripebase %x, stripeoffset %x, blockoffset %x\n", - stripebase, - stripeoffset, - blockoffset); + "vinum: stripebase %#llx, stripeoffset %#llxx, blockoffset %#llx\n", + (unsigned long long)stripebase, + (unsigned long long)stripeoffset, + (unsigned long long)blockoffset); } #endif } -- cgit v1.1