Re: [PATCH] Lguest32 print hex on bad reads and writes

From: Rusty Russell
Date: Wed Apr 04 2007 - 23:34:56 EST


On Wed, 2007-04-04 at 23:14 -0400, Steven Rostedt wrote:
> On Wed, 2007-04-04 at 23:06 -0400, Kyle Moffett wrote:
>
> > > (Erk, I wonder what I was thinking when I wrote that?) Can I ask
> > > for %#x (or 0x%x)? I'm easily confused.
> >
> > How about "%p" for pointers?
>
> But that would require casting the numbers to pointers.

And the kernel's printk doesn't put 0x on pointers anyway, last I
checked 8(

Rusty.


-
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/