summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--com32/elflink/ldlinux/kernel.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/com32/elflink/ldlinux/kernel.c b/com32/elflink/ldlinux/kernel.c
index f3ba37fa..f9738a7e 100644
--- a/com32/elflink/ldlinux/kernel.c
+++ b/com32/elflink/ldlinux/kernel.c
@@ -88,6 +88,15 @@ int new_linux_kernel(char *okernel, char *ocmdline)
temp++; /* Skip = or , */
p = temp;
+ if (*p == '(') {
+ /* handle MultiFS path syntax: e.g. (hdX,Y)... */
+ do {
+ p++;
+ n++;
+ } while (*p && *p != ')');
+ p++;
+ n++;
+ }
while (*p != ' ' && *p != ',' && *p) {
p++;
n++;