wok-current rev 3868
syslinux/ifmem: typos
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 08 16:06:48 2009 +0200 (2009-08-08) |
parents | 03b14f7eba36 |
children | a583621eb383 |
files | syslinux/stuff/extra/ifmem.c |
line diff
1.1 --- a/syslinux/stuff/extra/ifmem.c Sat Aug 08 16:04:33 2009 +0200 1.2 +++ b/syslinux/stuff/extra/ifmem.c Sat Aug 08 16:06:48 2009 +0200 1.3 @@ -64,15 +64,15 @@ 1.4 return 1; 1.5 } 1.6 1.7 - # find target according to ram size 1.8 + // find target according to ram size 1.9 for (i = 1; i + 2 < argc; ) { 1.10 i++; // size 1.11 if (memory_size() >= strtoul(s, NULL, 0)) break; 1.12 s = argv[++i]; 1.13 } 1.14 1.15 - # find and copy extra parameters to command line 1.16 - # assume last parameter is "noram" 1.17 + // find and copy extra parameters to command line 1.18 + // assume last parameter is "noram" 1.19 for (s = argv[i]; i < argc; i++) { 1.20 if (!strcmp(argv[i],"noram") && ++i < argc) { 1.21 #define SZ 512