mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 12:35:14 +00:00
Oops, errno codes need to be negative in the kernel.
This commit is contained in:
parent
9eca2ffd41
commit
cc30407b8c
Notes:
sideshowbarker
2024-07-19 16:06:32 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/cc30407b8cb
1 changed files with 1 additions and 1 deletions
|
@ -283,7 +283,7 @@ RetainPtr<FileDescriptor> VFS::create(const String& path, InodeIdentifier base,
|
|||
|
||||
bool VFS::mkdir(const String& path, mode_t mode, InodeIdentifier base, int& error)
|
||||
{
|
||||
error = EWHYTHO;
|
||||
error = -EWHYTHO;
|
||||
// FIXME: This won't work nicely across mount boundaries.
|
||||
FileSystemPath p(path);
|
||||
if (!p.is_valid()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue