1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 08:08:12 +00:00

Fix bug where allocating a new inode forgot that inodes are 1-based.

This commit is contained in:
Andreas Kling 2018-10-15 02:39:55 +02:00
parent b0eaca436c
commit 5c50d02c2e
3 changed files with 7 additions and 5 deletions

View file

@ -38,8 +38,10 @@ int main(int c, char** v)
return 1;
}
//auto newFile = vfs.create("/empty");
//printf("vfs.create: %p\n", newFile.ptr());
#if 1
auto newFile = vfs.create("/empty");
printf("vfs.create: %p\n", newFile.ptr());
#endif
//return 0;
if (!strcmp(v[0], "./vcat")) {