lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <871w7hrjp5.fsf@szonett.ki.iif.hu>
Date:	Tue, 12 Feb 2008 21:41:42 +0100
From:	Ferenc Wagner <wferi@...f.hu>
To:	linux-kernel@...r.kernel.org
Cc:	wferi@...f.hu
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.)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ