mirror of
https://github.com/open-simh/simh.git
synced 2026-02-12 11:07:37 +00:00
@@ -534,7 +534,7 @@ fputs (cdp_buf, cdp_unit.fileref); /* write card */
|
|||||||
cdp_unit.pos = ftell (cdp_unit.fileref); /* count char */
|
cdp_unit.pos = ftell (cdp_unit.fileref); /* count char */
|
||||||
if (ferror (cdp_unit.fileref)) { /* error? */
|
if (ferror (cdp_unit.fileref)) { /* error? */
|
||||||
ind[IN_WRCHK] = 1;
|
ind[IN_WRCHK] = 1;
|
||||||
sim_perror ("CDR I/O error");
|
sim_perror ("CDP I/O error");
|
||||||
clearerr (cdp_unit.fileref);
|
clearerr (cdp_unit.fileref);
|
||||||
return SCPE_IOERR;
|
return SCPE_IOERR;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user