kopia lustrzana https://github.com/sq5bpf/k5prog
Fix wrong filename printed in open failure message.
The eeprom filename was printed instead of flash filename. This really confused me.pull/19/head
rodzic
6eb4ac3822
commit
32b6d4bb9d
2
k5prog.c
2
k5prog.c
|
@ -990,7 +990,7 @@ int main(int argc,char **argv)
|
|||
|
||||
ffd=open(flash_file,O_RDONLY);
|
||||
if (ffd<0) {
|
||||
fprintf(stderr,"open %s error %d %s\n", file, errno, strerror(errno));
|
||||
fprintf(stderr,"open %s error %d %s\n", flash_file, errno, strerror(errno));
|
||||
exit(1);
|
||||
}
|
||||
flash_length=read(ffd,(unsigned char *)&flash,UVK5_MAX_FLASH_SIZE);
|
||||
|
|
Ładowanie…
Reference in New Issue