Messages in this thread | | | Date | Tue, 01 Jul 2008 20:58:05 +0200 | From | Andi Kleen <> | Subject | Re: [PATCH] x86: small unifications of address printing |
| |
> Yes, it will, and correctly too: > > case 'p': > flags |= SMALL; > if (field_width == -1) { > field_width = 2*sizeof(void *); > flags |= ZEROPAD; > } > > Or did I read this code wrong? field_width is initialized to -1 by > default unless overridden. The SMALL flag means lowercase hexadecimal > digits.
You're right. The kernel differs from user space/traditional behaviour in this regard.
-Andi
| |