minor clean up
This commit is contained in:
@@ -122,7 +122,7 @@ int main(int argc, char *argv[]) {
|
||||
bitmap_t b;
|
||||
for (i = 0; i < 1024; i++)
|
||||
b.bits[i] = 0;
|
||||
b.bits[0] = 0x80000000; // first entry is allocated
|
||||
b.bits[0] = 0x1 << 31; // first entry is allocated
|
||||
|
||||
rc = pwrite(fd, &b, UFS_BLOCK_SIZE, s.inode_bitmap_addr * UFS_BLOCK_SIZE);
|
||||
assert(rc == UFS_BLOCK_SIZE);
|
||||
|
||||
Reference in New Issue
Block a user