1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-10 10:01:13 +09: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
Notes: sideshowbarker 2024-07-19 18:47:50 +09:00
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")) {