minor clean up

This commit is contained in:
Remzi Arpaci-Dusseau
2022-12-06 11:18:58 -06:00
parent b95350cb74
commit 6269639845
2 changed files with 6 additions and 6 deletions

View File

@@ -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);