summaryrefslogtreecommitdiffstats
path: root/loader/loader.c
diff options
context:
space:
mode:
Diffstat (limited to 'loader/loader.c')
-rw-r--r--loader/loader.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/loader/loader.c b/loader/loader.c
index ffdf8dabd..51a9f4572 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -2115,6 +2115,12 @@ int kickstartFromHardDrive(char * location,
#endif
fileName = strchr(source, '/');
+ if (!strncmp (source, "cciss", 5) ||
+ !strncmp (source, "ida", 3) ||
+ !strncmp (source, "i2o", 3) ||
+ !strncmp (source, "rd", 2))
+ /* chomp in the next part */
+ fileName = strchr(fileName, '/');
*fileName = '\0';
fileName++;
device = source;