Skip to content

Commit

Permalink
[POWERPC] Fix backwards ? : when printing machine type
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
anton@samba.org authored and Paul Mackerras committed Mar 26, 2007
1 parent 34c2a14 commit ae7f446
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ae7f446

Please sign in to comment.