1
0
mirror of https://github.com/simh/simh.git synced 2026-01-26 12:02:14 +00:00

More General cleanup migrate to using sim_printf vs separate calls to printf and fprintf(sim_log).

This commit is contained in:
Mark Pizzolato
2014-10-24 14:37:37 -07:00
parent ebf53c9cda
commit 995ab8f1e2
23 changed files with 118 additions and 117 deletions

View File

@@ -343,7 +343,7 @@ if ((hsr_unit.flags & UNIT_ATT) == 0) /* attached? */
if ((temp = getc (hsr_unit.fileref)) == EOF) { /* read char */
if (feof (hsr_unit.fileref)) { /* err or eof? */
if (hsr_stopioe)
printf ("HSR end of file\n");
sim_printf ("HSR end of file\n");
else return SCPE_OK;
}
else perror ("HSR I/O error");