diff options
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/reboot/reboot.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/reboot/reboot.c b/usr.bin/reboot/reboot.c index 0fed0d2..7fa37f9 100644 --- a/usr.bin/reboot/reboot.c +++ b/usr.bin/reboot/reboot.c @@ -71,6 +71,9 @@ main(int argc, char **argv) cpu_reboot(REBOOT_FLAG_HLT); printf("HALT failed\n"); /* Fall through */ + default: + printf("got bad flag '%c'\n", c); + break; } } |