reboot.c: make use of RVAL_DECODED

* reboot.c (sys_reboot): Update for RVAL_DECODED.
This commit is contained in:
Дмитрий Левин 2015-07-17 20:27:00 +00:00
parent 0564623abf
commit 307945d4d9

View File

@ -6,9 +6,6 @@
SYS_FUNC(reboot)
{
if (exiting(tcp))
return 0;
printflags(bootflags1, tcp->u_arg[0], "LINUX_REBOOT_MAGIC_???");
tprints(", ");
printflags(bootflags2, tcp->u_arg[1], "LINUX_REBOOT_MAGIC_???");
@ -18,5 +15,5 @@ SYS_FUNC(reboot)
tprints(", ");
printstr(tcp, tcp->u_arg[3], -1);
}
return 0;
return RVAL_DECODED;
}