summaryrefslogtreecommitdiff
path: root/usr.bin/reboot/reboot.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/reboot/reboot.c')
-rw-r--r--usr.bin/reboot/reboot.c3
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;
}
}