mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 09:51:57 -05:00
Oops, errno codes need to be negative in the kernel.
This commit is contained in:
parent
9eca2ffd41
commit
cc30407b8c
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