# HG changeset patch # User Pascal Bellard # Date 1408626324 -7200 # Node ID 96d0569c8793498ac0226a2b3815687bf0ef06c7 # Parent 0b3e30f655f96385fd1258290b775452c2f97a19 syslinux/c32box: x86_64 auto select (again) diff -r 0b3e30f655f9 -r 96d0569c8793 syslinux/stuff/extra/md5sum.c --- a/syslinux/stuff/extra/md5sum.c Thu Aug 21 14:58:48 2014 +0200 +++ b/syslinux/stuff/extra/md5sum.c Thu Aug 21 15:05:24 2014 +0200 @@ -884,7 +884,7 @@ return 1; } - kernel_name = bestextfilename(arg); + kernel_name = arg; errno = 0; boot_image = malloc(strlen(kernel_name) + 12); @@ -905,7 +905,7 @@ if (!opt_quiet) printf("Loading %s... ", kernel_name); errno = 0; - if (loadfile(kernel_name, &kernel_data, &kernel_len)) { + if (loadfile(bestextfilename(kernel_name), &kernel_data, &kernel_len)) { if (opt_quiet) printf("Loading %s ", kernel_name); printf("failed: "); @@ -935,11 +935,11 @@ if (p) *p = '\0'; - initrd_name = bestextfilename(arg); + initrd_name = arg; if (!opt_quiet) printf("Loading %s... ", initrd_name); errno = 0; - if (initramfs_load_archive(initramfs, initrd_name)) { + if (initramfs_load_archive(initramfs, bestextfilename(initrd_name))) { if (opt_quiet) printf("Loading %s ", initrd_name); printf("failed: ");