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 20866dc..bf54460 100644
--- a/ioprio.c
+++ b/ioprio.c
@@ -61,13 +61,12 @@
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;
}