summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/traps.c
diff options
context:
space:
mode:
authoranton@samba.org <anton@samba.org>2007-03-20 20:38:14 -0500
committerPaul Mackerras <paulus@samba.org>2007-03-26 12:34:31 +1000
commitae7f4463773dafac52d70c9803f283afe27ab1e3 (patch)
treed46a3fc10f70814a6a794221d80d791d18cb2b11 /arch/powerpc/kernel/traps.c
parent34c2a14fc20e4ab878fbf87e5f7fe1cff6afb3d4 (diff)
[POWERPC] Fix backwards ? : when printing machine type
Looks like someone got this backwards, highlighting the perils of the ? : !!! :) Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/traps.c')
-rw-r--r--arch/powerpc/kernel/traps.c2
1 files changed, 1 insertions, 1 deletions
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);