mirror of
https://github.com/simh/simh.git
synced 2026-01-11 23:52:58 +00:00
Fixed printf of error messages which had parameters in the wrong order (found by Maurizio De Tommaso)
This commit is contained in:
parent
330839888d
commit
79d0e25848
2
scp.c
2
scp.c
@ -1146,7 +1146,7 @@ do {
|
||||
(stat != SCPE_STEP)) {
|
||||
if (!echo && !sim_quiet && /* report if not echoing */
|
||||
(!isdo || stat_nomessage)) { /* and not suppressing messages */
|
||||
printf("%s%s%s-%d> %s\n", do_arg[0], sim_goto_line, label ? "::" : "", label ? label : "", sim_goto_line, ocptr);
|
||||
printf("%s%s%s-%d> %s\n", do_arg[0], label ? "::" : "", label ? label : "", sim_goto_line, ocptr);
|
||||
if (sim_log)
|
||||
fprintf (sim_log, "%s%s%s-%d> %s\n", do_arg[0], label ? "::" : "", label ? label : "", sim_goto_line, ocptr);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user