1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 05:35:06 +00:00

Fix up VFS::resolveSymbolicLink() to use a base inode instead of a base path.

Also more VFS error plumbing.
This commit is contained in:
Andreas Kling 2018-10-28 14:25:51 +01:00
parent 97726862dd
commit bea106fdb2
4 changed files with 24 additions and 25 deletions

View file

@ -131,7 +131,8 @@ static void init_stage2()
#ifdef KSYMS
{
auto handle = vfs->open("/kernel.map");
int error;
auto handle = vfs->open("/kernel.map", error);
if (!handle) {
kprintf("Failed to open /kernel.map\n");
} else {