]> granicus.if.org Git - strace/blobdiff - upoke.c
Remove HAVE_STRUCT_TCB_EXT_ARG, ext_arg, and u_lrval
[strace] / upoke.c
diff --git a/upoke.c b/upoke.c
index 6746099aaf77bbdc16ad445371b5efb393470227..dda0b8d717ed6f9a53cf3573b13e7a865c8b76b1 100644 (file)
--- a/upoke.c
+++ b/upoke.c
@@ -29,9 +29,9 @@
 #include "ptrace.h"
 
 int
-upoke(int pid, unsigned long off, kernel_ureg_t val)
+upoke(int pid, unsigned long off, kernel_ulong_t val)
 {
-       if (ptrace(PTRACE_POKEUSER, (pid_t) pid, (void *) off, (void *) val)) {
+       if (ptrace(PTRACE_POKEUSER, pid, off, val)) {
                if (errno != ESRCH)
                        perror_msg("upoke: PTRACE_POKEUSER pid:%d @%#lx)", pid, off);
                return -1;