Fix typo in patch porting
authorPaul Nasrat <pauln@truemesh.com>
Mon, 3 Dec 2007 14:13:54 +0000 (14:13 +0000)
committerPaul Nasrat <pauln@truemesh.com>
Mon, 3 Dec 2007 14:13:54 +0000 (14:13 +0000)
second/yaboot.c

index 2fa4736..8323bfd 100644 (file)
@@ -1729,7 +1729,7 @@ yaboot_main(void)
          prom_printf("%s: Unable to parse\n", bootdevice);
          return -1;
      }
-     if (_machine == MACH_bplan)
+     if (_machine == _MACH_bplan)
         boot.part++;
      DEBUG_F("After parse_device_path: dev=%s, part=%d, file=%s\n",
             boot.dev, boot.part, boot.file);