Skip to content

Commit 307945d

Browse files
committed
reboot.c: make use of RVAL_DECODED
* reboot.c (sys_reboot): Update for RVAL_DECODED.
1 parent 0564623 commit 307945d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

reboot.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66

77
SYS_FUNC(reboot)
88
{
9-
if (exiting(tcp))
10-
return 0;
11-
129
printflags(bootflags1, tcp->u_arg[0], "LINUX_REBOOT_MAGIC_???");
1310
tprints(", ");
1411
printflags(bootflags2, tcp->u_arg[1], "LINUX_REBOOT_MAGIC_???");
@@ -18,5 +15,5 @@ SYS_FUNC(reboot)
1815
tprints(", ");
1916
printstr(tcp, tcp->u_arg[3], -1);
2017
}
21-
return 0;
18+
return RVAL_DECODED;
2219
}

0 commit comments

Comments
 (0)