wok-current diff syslinux/stuff/extra/md5sum.c @ rev 17058
syslinux/c32box: x86_64 auto select (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 21 10:08:05 2014 +0200 (2014-08-21) |
parents | 5e47b1bdb6f4 |
children | 0b3e30f655f9 |
line diff
1.1 --- a/syslinux/stuff/extra/md5sum.c Thu Aug 21 09:56:57 2014 +0200 1.2 +++ b/syslinux/stuff/extra/md5sum.c Thu Aug 21 10:08:05 2014 +0200 1.3 @@ -800,7 +800,7 @@ 1.4 FILE *fp; 1.5 1.6 if (strlen(filename) + strlen(ext) <= NEWFILENAMESZ) { 1.7 - strcpy(newfilename, filename, NEWFILENAMESZ); 1.8 + strcpy(newfilename, filename); 1.9 if (cpu_has_feature(feature)) { 1.10 strcat(newfilename, ext); 1.11 fp = fopen(newfilename, "r");