Skip to content
Snippets Groups Projects
Commit 80f292f8 authored by rtm's avatar rtm
Browse files

fix writing the indirect block

parent 5051da6d
No related branches found
No related tags found
No related merge requests found
......@@ -261,7 +261,7 @@ iappend(uint inum, void *xp, int n)
if (indirect[fbn - NDIRECT] == 0) {
indirect[fbn - NDIRECT] = xint(freeblock++);
usedblocks++;
wsect(INDIRECT, (char *) indirect);
wsect(xint(din.addrs[INDIRECT]), (char *) indirect);
}
x = xint(indirect[fbn-NDIRECT]);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment