]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/patches/grub-0.93-special-device-names.patch
Another fix for grub-install for virtio
[people/pmueller/ipfire-2.x.git] / src / patches / grub-0.93-special-device-names.patch
index 1323bb397fdc970c6710850a4ae4b848e7bddf3e..894f3e8872e8070d6e02c6a3c0cf07cd274737e0 100644 (file)
@@ -9,7 +9,7 @@
 +  sprintf (dev + strlen(dev), "%s%d", 
 +         /* Compaq smart and others */
 +         (strncmp(dev, "/dev/ida/", 9) == 0 ||
-+            strncmp(dev, "/dev/ataraid/", 13) == 0 ||
++          strncmp(dev, "/dev/ataraid/", 13) == 0 ||
 +          strncmp(dev, "/dev/cciss/", 11) == 0 ||
 +          strncmp(dev, "/dev/rd/", 8) == 0) ? "p" : "",
 +         ((partition >> 16) & 0xFF) + 1);