wok diff linld/stuff/src/LINLD.CPP @ rev 23999
syslinux/iso2exe: read isolinux.cfg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 12 07:47:12 2021 +0000 (2021-01-12) |
parents | a946c1651082 |
children | bc4b94310a29 |
line diff
1.1 --- a/linld/stuff/src/LINLD.CPP Fri Jan 08 20:15:35 2021 +0000 1.2 +++ b/linld/stuff/src/LINLD.CPP Tue Jan 12 07:47:12 2021 +0000 1.3 @@ -8,7 +8,7 @@ 1.4 1.5 extern char bzimagestr[]; 1.6 const char* cmdstr[4] = {"auto",bzimagestr,NULL,NULL}; 1.7 -u32 cmdnum[4]; 1.8 +u32 cmdnum[5]; 1.9 1.10 inline void syntax() { 1.11 die("Syntax:" NL 1.12 @@ -51,7 +51,7 @@ 1.13 exit(); 1.14 } 1.15 if (argstr(*argv,"cl|image|initrd|iso",clp) == (int) clp) continue; 1.16 - if (argnum(*argv,"root|vga|mem|-b",&root_dev) == (int) &base_himem) continue; 1.17 + if (argnum(*argv,"root|vga|mem|-b|-f*",&root_dev) >= (int) &base_himem) continue; 1.18 if (fileexist(*argv) != -1) { 1.19 kernel_name=*argv; 1.20 continue;