commit | fe50316d2cfe89963ba663e22cf28a6a0d309960 | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Tue Aug 18 18:33:44 2015 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Tue Aug 18 19:16:36 2015 +0000 |
tree | 3cb2ffc35c3e18e1a259ab6c99e707478f20b8a7 | |
parent | afac9f020707b2921181d932d215a0fddff051ce [diff] |
Simplify printing of get_robust_list first argument * get_robust_list.c (sys_get_robust_list): Print first argument using "%d" format.
diff --git a/get_robust_list.c b/get_robust_list.c index beec52b..23d978f 100644 --- a/get_robust_list.c +++ b/get_robust_list.c
@@ -3,7 +3,7 @@ SYS_FUNC(get_robust_list) { if (entering(tcp)) { - tprintf("%ld, ", (long) (pid_t) tcp->u_arg[0]); + tprintf("%d, ", (int) tcp->u_arg[0]); } else { printnum_ptr(tcp, tcp->u_arg[1]); tprints(", ");