ioprio.c: make use of RVAL_DECODED
* ioprio.c (sys_ioprio_set): Update for RVAL_DECODED.
This commit is contained in:
parent
2370d53281
commit
a58ad74f79
17
ioprio.c
17
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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user