fix typos in user/usertest.c & kernel/log.c
This commit is contained in:
parent
9655f71758
commit
8d4ff0bc1e
2 changed files with 3 additions and 3 deletions
|
@ -223,7 +223,7 @@ log_write(struct buf *b)
|
|||
panic("log_write outside of trans");
|
||||
|
||||
for (i = 0; i < log.lh.n; i++) {
|
||||
if (log.lh.block[i] == b->blockno) // log absorbtion
|
||||
if (log.lh.block[i] == b->blockno) // log absorption
|
||||
break;
|
||||
}
|
||||
log.lh.block[i] = b->blockno;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue