summaryrefslogtreecommitdiff
path: root/lookup_dcookie.c
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2016-12-26 05:28:04 +0300
committerDmitry V. Levin <ldv@altlinux.org>2016-12-26 10:43:35 +0000
commit50b50e78f674068c614e08a1b9e30971503ea61c (patch)
tree894b5f3d738fcf9cc62230173ae65e89d7d1fc6a /lookup_dcookie.c
parent8aab60e8d304f622dbe69c634b4dd209c70c9e83 (diff)
downloadstrace-50b50e78f674068c614e08a1b9e30971503ea61c.tar.gz
Remove getarg_klu
After transition from long to kernel_ulong_t we no longer need tcp->ext_arg, and therefore a function to access it is also no longer needed. * defs.h (getarg_klu): Remove prototype. * util.c (getarg_klu): Remove. (printargs): Access tcp->u_arg directly * bjm.c (SYS_FUNC(init_module)): Likewise. * clone.c (SYS_FUNC(unshare)): Likewise. * fadvise.c (SYS_FUNC(fadvise64)): Likewise. * kcmp.c (SYS_FUNC(kcmp)): Likewise. * kexec.c (SYS_FUNC(kexec_file_load)): Likewise. * keyctl.c (SYS_FUNC(keyctl)): Likewise. * lookup_dcookie.c (SYS_FUNC(lookup_dcookie)): Likewise. * mem.c (do_mprotect): Likewise. * mq.c (SYS_FUNC(mq_timedsend), SYS_FUNC(mq_timedreceive)): Likewise. * pkeys.c (SYS_FUNC(pkey_alloc)): Likewise. * prctl.c (print_prctl_args, SYS_FUNC(prctl), SYS_FUNC(arch_prctl)): Likewise.
Diffstat (limited to 'lookup_dcookie.c')
-rw-r--r--lookup_dcookie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lookup_dcookie.c b/lookup_dcookie.c
index 079a05818..279694f17 100644
--- a/lookup_dcookie.c
+++ b/lookup_dcookie.c
@@ -43,7 +43,7 @@ SYS_FUNC(lookup_dcookie)
printstrn(tcp, tcp->u_arg[argn], tcp->u_rval);
/* len */
- tprintf(", %" PRI_klu, getarg_klu(tcp, argn + 1));
+ tprintf(", %" PRI_klu, tcp->u_arg[argn + 1]);
return 0;
}