Quellcode durchsuchen

[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>
anton@samba.org vor 18 Jahren
Ursprung
Commit
ae7f446377
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      arch/powerpc/kernel/traps.c

+ 1 - 1
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);