diff options
| author | Nathan P. Reiner <nathan@nathanreiner.xyz> | 2022-12-15 18:20:33 +0100 |
|---|---|---|
| committer | Nathan P. Reiner <nathan@nathanreiner.xyz> | 2022-12-15 18:20:33 +0100 |
| commit | 828dd435725ea315abd2ea9875325ee3b17041a9 (patch) | |
| tree | 72d80411d5cecc8758fc87867521374e90caa44d /lib/sys/reboot.h | |
| parent | 7536d000ac9a5188378f2749ecfd7f0ccb437573 (diff) | |
did this while lecture (builtins, parsing, exec and env by stdlib)
Diffstat (limited to 'lib/sys/reboot.h')
| -rw-r--r-- | lib/sys/reboot.h | 3 |
1 files changed, 2 insertions, 1 deletions
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; |