mirror of
https://github.com/open-simh/simh.git
synced 2026-01-13 23:37:13 +00:00
Added useful diagnostic when restore operation fails due to inability to attach a device
This commit is contained in:
parent
a8a5a5b74f
commit
f84c6109de
4
scp.c
4
scp.c
@ -2961,7 +2961,9 @@ for (j=0, r = SCPE_OK; j<attcnt; j++) {
|
||||
if (r == SCPE_OK) {
|
||||
dptr = find_dev_from_unit (attunits[j]);
|
||||
sim_switches = attswitches[j];
|
||||
r = scp_attach_unit (dptr, attunits[j], attnames[j]); /* reattach unit */
|
||||
r = scp_attach_unit (dptr, attunits[j], attnames[j]);/* reattach unit */
|
||||
if (r != SCPE_OK)
|
||||
printf ("Error Attaching %s to %s\n", sim_dname (dptr), attnames[j]);
|
||||
}
|
||||
free (attnames[j]);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user