From: Dmitry V. Levin Date: Fri, 17 Jul 2015 20:27:00 +0000 (+0000) Subject: reboot.c: make use of RVAL_DECODED X-Git-Tag: v4.11~412 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=307945d4d9631ba024258338856169a0c6d30fbb;p=strace reboot.c: make use of RVAL_DECODED * reboot.c (sys_reboot): Update for RVAL_DECODED. --- 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; }