1
0
mirror of https://github.com/simh/simh.git synced 2026-02-13 11:25:51 +00:00

Compile cleanups.

i1620_sys.c - fixed printf calls without a format argument.
ibm1130_cr.c - fixed printf calls without a format argument.
scp.c - corrected argument types
vax780_sbi.c - corrected argument types
vax_sysdev.c - corrected argument types
pdp11_tu.c - Fixed t_addr printouts for 64b big-endian systems
sim_console.c - fixed formats to consistently print file names
This commit is contained in:
Mark Pizzolato
2011-04-19 16:18:26 -07:00
parent d8f55a652b
commit d81365b7af
7 changed files with 21 additions and 13 deletions

View File

@@ -390,7 +390,7 @@ if (opcode[i].str == NULL)
if (I_GETQP (opfl) == I_M_QNP) /* Q no print? */
qmp = 0;
fprintf (of, opcode[i].str); /* print opcode */
fprintf (of, "%s", opcode[i].str); /* print opcode */
if (I_GETPP (opfl) == I_M_PP) /* P required? */
fprint_addr (of, ' ', &val[I_P], I_M_QX);
else if ((I_GETPP (opfl) == I_M_PCP) && (pmp || qmp)) /* P opt & needed? */