aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/um/os-Linux/prctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/um/os-Linux/prctl.c')
-rw-r--r--arch/x86/um/os-Linux/prctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/um/os-Linux/prctl.c b/arch/x86/um/os-Linux/prctl.c
index 96eb2bd28832..8431e87ac333 100644
--- a/arch/x86/um/os-Linux/prctl.c
+++ b/arch/x86/um/os-Linux/prctl.c
@@ -6,7 +6,7 @@
#include <sys/ptrace.h>
#include <asm/ptrace.h>
-int os_arch_prctl(int pid, int code, unsigned long *addr)
+int os_arch_prctl(int pid, int option, unsigned long *arg2)
{
- return ptrace(PTRACE_ARCH_PRCTL, pid, (unsigned long) addr, code);
+ return ptrace(PTRACE_ARCH_PRCTL, pid, (unsigned long) arg2, option);
}