Skip to contentSkip to conversation

printk %%

DISCUSSION Ferenc Wagner 1 participant 1 message Feb 12, 2008

lore
Share & tools
lore
#0 lore raw

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?

Signature · 4 lines
Regards,
Feri.

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