diff --git a/Kernel/Process.h b/Kernel/Process.h index 23f2c24b5a..49259a58a4 100644 --- a/Kernel/Process.h +++ b/Kernel/Process.h @@ -262,7 +262,7 @@ public: int sys$dup2(int oldfd, int newfd); int sys$sigaction(int signum, const sigaction* act, sigaction* old_act); int sys$sigprocmask(int how, Userspace set, Userspace old_set); - int sys$sigpending(sigset_t*); + int sys$sigpending(Userspace); int sys$getgroups(ssize_t, Userspace); int sys$setgroups(ssize_t, Userspace); int sys$pipe(int pipefd[2], int flags); diff --git a/Kernel/Syscalls/sigaction.cpp b/Kernel/Syscalls/sigaction.cpp index 26a28c83ee..70bceceecb 100644 --- a/Kernel/Syscalls/sigaction.cpp +++ b/Kernel/Syscalls/sigaction.cpp @@ -59,7 +59,7 @@ int Process::sys$sigprocmask(int how, Userspace set, Userspace< return 0; } -int Process::sys$sigpending(sigset_t* set) +int Process::sys$sigpending(Userspace set) { REQUIRE_PROMISE(stdio); if (!validate_write_typed(set))