capability.c: make use of RVAL_DECODED

* capability.c (sys_capset): Update for RVAL_DECODED.
This commit is contained in:
Дмитрий Левин 2015-07-20 17:54:02 +00:00
parent c70da7c15e
commit ff33aac4e9

View File

@ -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;
}