Thread (2 messages) 2 messages, 2 authors, 2002-10-30

Re: printk long long

From: Randy.Dunlap <hidden>
Date: 2002-10-30 20:20:10

On Wed, 30 Oct 2002, Christoph Hellwig wrote:

| On Wed, Oct 30, 2002 at 10:06:01AM -0800, Randy.Dunlap wrote:
| > On Tue, 29 Oct 2002, Hai Huang wrote:
| >
| > | As the title, I've tried couple different things to print a long
| > | long variable using printk (by %ll, %qd, ...) but without success.
| > | Anyone knows the right format?
| >
| > %L
| >
| > see linux/lib/vsprintf.c
|
| %ll is better, as that's what userspace understands, too.

Fair enough.

But he said that he tried "%ll", so maybe he didn't try "%lld"
or "%llx"...?

I was probably just going by what I see most of in the
kernel source tree, which is "%L".

-- 
~Randy

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help