commit | d3f17c642d9fdf5ea25941d6de7f26117bd89670 | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Thu Feb 11 02:20:18 2016 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Thu Feb 11 03:06:17 2016 +0000 |
tree | 742071b9c06325cfaf4246a9e457f88c60c471af | |
parent | ea21823d27b43feb8476f68e6debeedf7c932ba7 [diff] |
waitid: always print 5th argument * wait.c (SYS_FUNC(waitid)): Do not check for tcp->s_ent->nargs as waitid syscall has 5 arguments.
diff --git a/wait.c b/wait.c index 156292f..39badf2 100644 --- a/wait.c +++ b/wait.c
@@ -187,11 +187,9 @@ /* options */ tprints(", "); printflags(wait4_options, tcp->u_arg[3], "W???"); - if (tcp->s_ent->nargs > 4) { - /* usage */ - tprints(", "); - printrusage(tcp, tcp->u_arg[4]); - } + /* usage */ + tprints(", "); + printrusage(tcp, tcp->u_arg[4]); } return 0; }