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