2008-02-12 20:41:55

by Ferenc Wagner

[permalink] [raw]
Subject: printk %%

Hi,

Looking at http://lxr.linux.no/linux/lib/vsprintf.c#L549 (where
vsnprintf in linux/lib/vsprintf.c parses the % format specifier)
suggests that the printk format string in
http://lxr.linux.no/linux/drivers/ide/setup-pci.c#L657 is correct:

printk(KERN_INFO "%s: not 100%% native mode: "
"will probe irqs later\n", d->name);

Still, in my kern.log the percent sign is doubled:

ICH4: not 100%% native mode: will probe irqs later

Why?
--
Regards,
Feri.

(Please Cc: me, I'm not on the list.)