From 307945d4d9631ba024258338856169a0c6d30fbb Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Fri, 17 Jul 2015 20:27:00 +0000 Subject: [PATCH] reboot.c: make use of RVAL_DECODED * reboot.c (sys_reboot): Update for RVAL_DECODED. --- reboot.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/reboot.c b/reboot.c index 2d118510..ebe3def3 100644 --- a/reboot.c +++ b/reboot.c @@ -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; } -- 2.40.0