diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/ptrace.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/ptrace.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/ptrace.c b/sysdeps/unix/sysv/linux/ptrace.c index b50234d2a1..1c60931926 100644 --- a/sysdeps/unix/sysv/linux/ptrace.c +++ b/sysdeps/unix/sysv/linux/ptrace.c @@ -21,12 +21,12 @@ #include <sys/ptrace.h> #include <stdarg.h> -extern int __syscall_ptrace (int, pid_t, void *, void *); +extern long int __syscall_ptrace (int, pid_t, void *, void *); -int +long int ptrace (enum __ptrace_request request, ...) { - int res, ret; + long int res, ret; va_list ap; pid_t pid; void *addr, *data; |