diff --git a/src/kernel/core/fs/vfs.cpp b/src/kernel/core/fs/vfs.cpp index b410f8c89c..28d96d456f 100755 --- a/src/kernel/core/fs/vfs.cpp +++ b/src/kernel/core/fs/vfs.cpp @@ -12,6 +12,7 @@ #include #include #include +#include #include #include @@ -4013,7 +4014,7 @@ fs_unmount(char *path, bool kernel) err = path_to_vnode(path, true, &vnode, kernel); if (err < 0) - return ERR_VFS_PATH_NOT_FOUND; + return B_ENTRY_NOT_FOUND; RecursiveLocker mountOpLocker(sMountOpLock);