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

Andi Kleen
2008-07-01T18:38:52Z

Vegard Nossum <vegard.nossum@gmail.com> 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