diff options
author | Russ Cox <[email protected]> | 2011-02-28 09:32:20 -0500 |
---|---|---|
committer | Russ Cox <[email protected]> | 2011-02-28 09:32:20 -0500 |
commit | c5f538735191330cc112485548e6dc46317eea83 (patch) | |
tree | 92175f170c56754ed5df2d48b3bb3fae8b56d1b4 /mkfs.c | |
parent | a6cd7509c4cb30a7d58aa2797dc979daaa795fd0 (diff) | |
download | xv6-labs-c5f538735191330cc112485548e6dc46317eea83.tar.gz xv6-labs-c5f538735191330cc112485548e6dc46317eea83.tar.bz2 xv6-labs-c5f538735191330cc112485548e6dc46317eea83.zip |
fixes from Peter Froehlich
Diffstat (limited to 'mkfs.c')
-rw-r--r-- | mkfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -229,7 +229,7 @@ balloc(int used) int i; printf("balloc: first %d blocks have been allocated\n", used); - assert(used < 512); + assert(used < 512*8); bzero(buf, 512); for(i = 0; i < used; i++){ buf[i/8] = buf[i/8] | (0x1 << (i%8)); |