2003-09-24 23:06:46

by john stultz

[permalink] [raw]
Subject: [PATCH] linux-2.6.0-test5_nrcpus-limit-typo_A0

Andrew, all,
This patch fixes a printk formatting typo("0x%d" should be "0x%x")
noticed by James Cleverdon.

Please consider for inclusion.

thanks
-john

===== arch/i386/kernel/mpparse.c 1.50 vs edited =====
--- 1.50/arch/i386/kernel/mpparse.c Tue Sep 9 23:41:39 2003
+++ edited/arch/i386/kernel/mpparse.c Wed Sep 24 15:58:33 2003
@@ -169,7 +169,7 @@

if (num_processors >= NR_CPUS) {
printk(KERN_WARNING "NR_CPUS limit of %i reached. Cannot "
- "boot CPU(apicid 0x%d).\n", NR_CPUS, m->mpc_apicid);
+ "boot CPU(apicid 0x%x).\n", NR_CPUS, m->mpc_apicid);
return;
}
num_processors++;