mirror of
https://github.com/simh/simh.git
synced 2026-02-16 12:44:09 +00:00
All: Convert from C runtime library perror() to sim_perror so that all messages will arrive in the same place(s).
This commit is contained in:
@@ -2050,7 +2050,7 @@ return ((uptr->flags & MTUF_WRP) || (MT_GET_FMT (uptr) == MTUF_F_TPC))? TRUE: FA
|
||||
|
||||
t_stat sim_tape_ioerr (UNIT *uptr)
|
||||
{
|
||||
perror ("Magtape library I/O error");
|
||||
sim_printf ("%s: Magtape library I/O error: %s\n", sim_uname (uptr), strerror (errno));
|
||||
clearerr (uptr->fileref);
|
||||
return MTSE_IOERR;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user