From: Dmitry V. Levin Date: Mon, 20 Jul 2015 10:42:49 +0000 (+0000) Subject: ioprio.c: make use of RVAL_DECODED X-Git-Tag: v4.11~382 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a58ad74f79015398bee378c08b0f1e25c26edc79;p=strace ioprio.c: make use of RVAL_DECODED * ioprio.c (sys_ioprio_set): Update for RVAL_DECODED. --- diff --git a/ioprio.c b/ioprio.c index 20866dcc..bf54460f 100644 --- a/ioprio.c +++ b/ioprio.c @@ -61,13 +61,12 @@ SYS_FUNC(ioprio_get) SYS_FUNC(ioprio_set) { - if (entering(tcp)) { - /* int which */ - printxval(ioprio_who, tcp->u_arg[0], "IOPRIO_WHO_???"); - /* int who */ - tprintf(", %d, ", (int) tcp->u_arg[1]); - /* int ioprio */ - tprints(sprint_ioprio(tcp->u_arg[2])); - } - return 0; + /* int which */ + printxval(ioprio_who, tcp->u_arg[0], "IOPRIO_WHO_???"); + /* int who */ + tprintf(", %d, ", (int) tcp->u_arg[1]); + /* int ioprio */ + tprints(sprint_ioprio(tcp->u_arg[2])); + + return RVAL_DECODED; }