summaryrefslogtreecommitdiff
path: root/Kernel/Syscalls/umask.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Syscalls/umask.cpp')
-rw-r--r--Kernel/Syscalls/umask.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscalls/umask.cpp b/Kernel/Syscalls/umask.cpp
index 0d217e076e..580aec0cc3 100644
--- a/Kernel/Syscalls/umask.cpp
+++ b/Kernel/Syscalls/umask.cpp
@@ -8,7 +8,7 @@
namespace Kernel {
-KResultOr<mode_t> Process::sys$umask(mode_t mask)
+KResultOr<FlatPtr> Process::sys$umask(mode_t mask)
{
REQUIRE_PROMISE(stdio);
auto old_mask = m_umask;