public
/
simavr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c67dc73
)
Fix error message
author
Purdea Andrei
<andrei@purdea.ro>
Sun, 12 Jul 2020 22:40:13 +0000
(
01:40
+0300)
committer
GitHub
<noreply@github.com>
Sun, 12 Jul 2020 22:40:13 +0000
(
01:40
+0300)
simavr/sim/run_avr.c
patch
|
blob
|
history
diff --git
a/simavr/sim/run_avr.c
b/simavr/sim/run_avr.c
index
b4fda3f
..
a249eb5
100644
(file)
--- a/
simavr/sim/run_avr.c
+++ b/
simavr/sim/run_avr.c
@@
-205,7
+205,7
@@
main(
char * suffix = strrchr(filename, '.');
if (suffix && !strcasecmp(suffix, ".hex")) {
if (!name[0] || !f_cpu) {
- fprintf(stderr, "%s: -
mcu and
-freq are mandatory to load .hex files\n", argv[0]);
+ fprintf(stderr, "%s: -
-mcu and -
-freq are mandatory to load .hex files\n", argv[0]);
exit(1);
}
ihex_chunk_p chunk = NULL;