From: anton@samba.org Date: Wed, 21 Mar 2007 01:38:14 +0000 (-0500) Subject: [POWERPC] Fix backwards ? : when printing machine type X-Git-Tag: v2.6.22-rc1~1109^2~144 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ae7f4463773dafac52d70c9803f283afe27ab1e3;p=linux-2.6-omap-h63xx.git [POWERPC] Fix backwards ? : when printing machine type Looks like someone got this backwards, highlighting the perils of the ? : !!! :) Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras --- diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c index 55d221ffcf1..f7862224fe8 100644 --- a/arch/powerpc/kernel/traps.c +++ b/arch/powerpc/kernel/traps.c @@ -153,7 +153,7 @@ int die(const char *str, struct pt_regs *regs, long err) #ifdef CONFIG_NUMA printk("NUMA "); #endif - printk("%s\n", ppc_md.name ? "" : ppc_md.name); + printk("%s\n", ppc_md.name ? ppc_md.name : ""); print_modules(); show_regs(regs);