]> git.ozlabs.org Git - yaboot.git/blobdiff - second/yaboot.c
Fix typo
[yaboot.git] / second / yaboot.c
index 2fa47363255b3bb5ecd5d7c8731d9cde740e1eec..46ab0efca9c00cdf3826d4111c20453dce86c093 100644 (file)
@@ -1729,13 +1729,13 @@ yaboot_main(void)
          prom_printf("%s: Unable to parse\n", bootdevice);
          return -1;
      }
          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);
 
      if (!conf_given) {
         boot.part++;
      DEBUG_F("After parse_device_path: dev=%s, part=%d, file=%s\n",
             boot.dev, boot.part, boot.file);
 
      if (!conf_given) {
-         if (_machine == _MACH_chrp || machine == _MACH_bplan)
+         if (_machine == _MACH_chrp || _machine == _MACH_bplan)
              boot.file = "/etc/";
          else if (strlen(boot.file)) {
              if (!strncmp(boot.file, "\\\\", 2))
              boot.file = "/etc/";
          else if (strlen(boot.file)) {
              if (!strncmp(boot.file, "\\\\", 2))