wok-current rev 17061
syslinux/c32box: x86_64 auto select (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 21 15:05:24 2014 +0200 (2014-08-21) |
parents | 0b3e30f655f9 |
children | 42769a29c9fa |
files | syslinux/stuff/extra/md5sum.c |
line diff
1.1 --- a/syslinux/stuff/extra/md5sum.c Thu Aug 21 14:58:48 2014 +0200 1.2 +++ b/syslinux/stuff/extra/md5sum.c Thu Aug 21 15:05:24 2014 +0200 1.3 @@ -884,7 +884,7 @@ 1.4 return 1; 1.5 } 1.6 1.7 - kernel_name = bestextfilename(arg); 1.8 + kernel_name = arg; 1.9 1.10 errno = 0; 1.11 boot_image = malloc(strlen(kernel_name) + 12); 1.12 @@ -905,7 +905,7 @@ 1.13 if (!opt_quiet) 1.14 printf("Loading %s... ", kernel_name); 1.15 errno = 0; 1.16 - if (loadfile(kernel_name, &kernel_data, &kernel_len)) { 1.17 + if (loadfile(bestextfilename(kernel_name), &kernel_data, &kernel_len)) { 1.18 if (opt_quiet) 1.19 printf("Loading %s ", kernel_name); 1.20 printf("failed: "); 1.21 @@ -935,11 +935,11 @@ 1.22 if (p) 1.23 *p = '\0'; 1.24 1.25 - initrd_name = bestextfilename(arg); 1.26 + initrd_name = arg; 1.27 if (!opt_quiet) 1.28 printf("Loading %s... ", initrd_name); 1.29 errno = 0; 1.30 - if (initramfs_load_archive(initramfs, initrd_name)) { 1.31 + if (initramfs_load_archive(initramfs, bestextfilename(initrd_name))) { 1.32 if (opt_quiet) 1.33 printf("Loading %s ", initrd_name); 1.34 printf("failed: ");