strace/get_robust_list.c
Dmitry V. Levin fe50316d2c Simplify printing of get_robust_list first argument
* get_robust_list.c (sys_get_robust_list): Print first argument
using "%d" format.
2015-08-18 19:16:36 +00:00

14 lines
226 B
C

#include "defs.h"
SYS_FUNC(get_robust_list)
{
if (entering(tcp)) {
tprintf("%d, ", (int) tcp->u_arg[0]);
} else {
printnum_ptr(tcp, tcp->u_arg[1]);
tprints(", ");
printnum_ulong(tcp, tcp->u_arg[2]);
}
return 0;
}