strace/get_robust_list.c
Dmitry V. Levin a9183c3958 get_robust_list.c: use printnum_long
* get_robust_list.c (sys_get_robust_list): Use printnum_long.
2015-07-20 22:03:07 +00:00

14 lines
251 B
C

#include "defs.h"
SYS_FUNC(get_robust_list)
{
if (entering(tcp)) {
tprintf("%ld, ", (long) (pid_t) tcp->u_arg[0]);
} else {
printnum_long(tcp, tcp->u_arg[1], "%#lx");
tprints(", ");
printnum_long(tcp, tcp->u_arg[2], "%lu");
}
return 0;
}