login
Header Space

 
 

printk %%

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>
Cc: <wferi@...>
Subject: printk %%
Date: Tuesday, February 12, 2008 - 4:41 pm

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.)
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
printk %%, Ferenc Wagner, (Tue Feb 12, 4:41 pm)
speck-geostationary