Changeset 8973acd in buchla-68k for libcio/readrn.c
- Timestamp:
- 07/15/2017 03:12:10 PM (7 years ago)
- Branches:
- master
- Children:
- ea232f9
- Parents:
- 7d0d347
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcio/readrn.c
r7d0d347 r8973acd 30 30 int32_t brc; /* bios return code */ 31 31 32 if ( sv = _seek(fcp))/* try to find the sector we want */32 if ((sv = _seek(fcp))) { /* try to find the sector we want */ 33 33 if (sv < 0) { 34 34 … … 41 41 return(1); /* return: EOF */ 42 42 } 43 } 43 44 44 45 #if DEBUGIT … … 49 50 50 51 #if TBUFFER 51 if ( brc = _secrd(buf, (int16_t)fcp->curdsn)) {52 if ((brc = _secrd(buf, (int16_t)fcp->curdsn))) { 52 53 #else 53 54 if (brc = BIOS(B_RDWR, 0, buf, 1, (short)fcp->curdsn, 0)) {
Note:
See TracChangeset
for help on using the changeset viewer.