Fixed error path issue when RAW disk operations are active (found by Sergey Oboguev)
This commit is contained in:
parent
c2d50b503e
commit
9b5750f6a8
1 changed files with 1 additions and 1 deletions
|
@ -1924,7 +1924,7 @@ if (err != 0) { /* error? */
|
|||
if (rq_dte (cp, uptr, ST_DRV)) /* post err log */
|
||||
rq_rw_end (cp, uptr, EF_LOG, ST_DRV); /* if ok, report err */
|
||||
perror ("RQ I/O error");
|
||||
if (!(uptr->flags | UNIT_RAW))
|
||||
if (!(uptr->flags & UNIT_RAW))
|
||||
clearerr (uptr->fileref);
|
||||
return SCPE_IOERR;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue