Re: [PATCH] x86: small unifications of address printing

From: Andi Kleen
Date: Tue Jul 01 2008 - 14:39:22 EST


Vegard Nossum <vegard.nossum@xxxxxxxxx> writes:

> 'man 3 printf' tells me that %p should be printed as if by %#x, but
> this is not true for the kernel, which does not use the '0x' prefix
> for the %p conversion specifier.

Problem is that %p will not pad to 8/16 digits. Addresses are traditionally
padded.

-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/