projects
/
emu8051.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d9b71a
)
Display filename in case of HEX file load error
author
Hugo Villeneuve
<hugo@hugovil.com>
Sun, 24 Nov 2013 18:03:16 +0000
(13:03 -0500)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Mon, 2 Dec 2013 01:49:06 +0000
(20:49 -0500)
src/hexfile.c
patch
|
blob
|
history
diff --git
a/src/hexfile.c
b/src/hexfile.c
index
57540bc
..
6411166
100644
(file)
--- a/
src/hexfile.c
+++ b/
src/hexfile.c
@@
-110,7
+110,7
@@
LoadHexFile(const char *filename)
/* Trying to open the file. */
fp = fopen(filename, "r");
if (fp == NULL) {
- perror(
PACKAGE
);
+ perror(
filename
);
/*ErrorLocation(__FILE__, __LINE__);*/
exit(EXIT_FAILURE);
}