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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user