From: "Randy.Dunlap" <rddunlap@osdl.org>
To: Christoph Hellwig <hch@infradead.org>
Cc: Hai Huang <haih@eecs.umich.edu>, linux-mm@kvack.org
Subject: Re: printk long long
Date: Wed, 30 Oct 2002 12:20:10 -0800 (PST) [thread overview]
Message-ID: <Pine.LNX.4.33L2.0210301211540.18828-100000@dragon.pdx.osdl.net> (raw)
In-Reply-To: <20021030182047.A1690@infradead.org>
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/
prev parent reply other threads:[~2002-10-30 20:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-30 2:20 Hai Huang
2002-10-30 18:06 ` Randy.Dunlap
2002-10-30 18:20 ` Christoph Hellwig
2002-10-30 20:20 ` Randy.Dunlap [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.33L2.0210301211540.18828-100000@dragon.pdx.osdl.net \
--to=rddunlap@osdl.org \
--cc=haih@eecs.umich.edu \
--cc=hch@infradead.org \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox