capability.c: make use of RVAL_DECODED
* capability.c (sys_capset): Update for RVAL_DECODED.
This commit is contained in:
parent
c70da7c15e
commit
ff33aac4e9
13
capability.c
13
capability.c
@ -121,11 +121,10 @@ SYS_FUNC(capget)
|
||||
|
||||
SYS_FUNC(capset)
|
||||
{
|
||||
if (entering(tcp)) {
|
||||
cap_user_header_t h = get_cap_header(tcp, tcp->u_arg[0]);
|
||||
print_cap_header(tcp, tcp->u_arg[0], h);
|
||||
tprints(", ");
|
||||
print_cap_data(tcp, tcp->u_arg[1], h);
|
||||
}
|
||||
return 0;
|
||||
cap_user_header_t h = get_cap_header(tcp, tcp->u_arg[0]);
|
||||
print_cap_header(tcp, tcp->u_arg[0], h);
|
||||
tprints(", ");
|
||||
print_cap_data(tcp, tcp->u_arg[1], h);
|
||||
|
||||
return RVAL_DECODED;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user