summaryrefslogtreecommitdiff
path: root/bio.c
diff options
context:
space:
mode:
Diffstat (limited to 'bio.c')
-rw-r--r--bio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bio.c b/bio.c
index 8955f7a..b761c3b 100644
--- a/bio.c
+++ b/bio.c
@@ -100,7 +100,7 @@ bread(uint dev, uint sector)
b = bget(dev, sector);
if(!(b->flags & B_VALID))
- ide_rw(b);
+ iderw(b);
return b;
}
@@ -111,7 +111,7 @@ bwrite(struct buf *b)
if((b->flags & B_BUSY) == 0)
panic("bwrite");
b->flags |= B_DIRTY;
- ide_rw(b);
+ iderw(b);
}
// Release the buffer buf.