Skip to contentSkip to conversation

linux-2.6.0-test5_nrcpus-limit-typo_A0

PATCH New john stultz 1 participant 1 message Sep 24, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 =====

arch/i386/kernel/mpparse.c +1 -1
@@ -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++;