summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-08-19 18:27:25 +0000
committerIan Moffett <ian@osmora.org>2025-08-19 18:27:25 +0000
commit28f93da2bda5c45afcbbfc2740c774e0bf76c8f7 (patch)
tree4367e96d3b9cd21b523ab2cbc9a07d71ab15b40a /usr.bin
parenta49e0a6980e3bbbea1365bd18e989b95b8f3cf02 (diff)
usr: reboot: Fix typo
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/reboot/reboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/reboot/reboot.c b/usr.bin/reboot/reboot.c
index 07dc74f..ac9785a 100644
--- a/usr.bin/reboot/reboot.c
+++ b/usr.bin/reboot/reboot.c
@@ -70,7 +70,7 @@ main(int argc, char **argv)
printf("REBOOT failed\n");
/* Fall through */
case REBOOT_FLAG_HLT:
- cpu_reboot(REBOOT_FLAG_HLT);
+ cpu_reboot(REBOOT_HALT);
printf("HALT failed\n");
/* Fall through */
case REBOOT_FLAG_PWR: