summaryrefslogtreecommitdiff
path: root/bio.c
diff options
context:
space:
mode:
authorFrans Kaashoek <[email protected]>2009-12-01 14:07:12 -0500
committerFrans Kaashoek <[email protected]>2009-12-01 14:07:12 -0500
commit7d7465a8581e672b073b3cbf83f1460cb86aed16 (patch)
treeacabf9293b3580c4dcf6b87afbf8673bcd18550c /bio.c
parent5e710e688ee946ba2557bb0c924063105ff7a99b (diff)
downloadxv6-labs-7d7465a8581e672b073b3cbf83f1460cb86aed16.tar.gz
xv6-labs-7d7465a8581e672b073b3cbf83f1460cb86aed16.tar.bz2
xv6-labs-7d7465a8581e672b073b3cbf83f1460cb86aed16.zip
8ae0 instead of 8e00, thanks yandong
Diffstat (limited to 'bio.c')
-rw-r--r--bio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bio.c b/bio.c
index 6a3968b..c746478 100644
--- a/bio.c
+++ b/bio.c
@@ -109,6 +109,7 @@ bread(uint dev, uint sector)
void
bwrite(struct buf *b)
{
+ cprintf("bwrite sector %d\n", b->sector);
if((b->flags & B_BUSY) == 0)
panic("bwrite");
b->flags |= B_DIRTY;