From 828dd435725ea315abd2ea9875325ee3b17041a9 Mon Sep 17 00:00:00 2001 From: "Nathan P. Reiner" Date: Thu, 15 Dec 2022 18:20:33 +0100 Subject: did this while lecture (builtins, parsing, exec and env by stdlib) --- lib/sys/reboot.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/sys/reboot.h') diff --git a/lib/sys/reboot.h b/lib/sys/reboot.h index fd119c5..22893ca 100644 --- a/lib/sys/reboot.h +++ b/lib/sys/reboot.h @@ -11,7 +11,8 @@ #define REBOOT_SUSPEND 0xd000fce2 #define REBOOT_NEW_KERNEL 0x45584543 -static int reboot(int cmd) { +static int reboot(int cmd) +{ const int magic1 = 0xfee1dead; const int magic2 = 537993216; -- cgit v1.2.3-70-g09d2