From 01cc966b3b5a86da83ff344ade7b76b5f2c39b43 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Sat, 5 Sep 2015 12:21:11 -0400 Subject: [PATCH] format src/systemcmds/reboot --- src/systemcmds/reboot/reboot.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/systemcmds/reboot/reboot.c b/src/systemcmds/reboot/reboot.c index 8de6b09985..8309d74ea4 100644 --- a/src/systemcmds/reboot/reboot.c +++ b/src/systemcmds/reboot/reboot.c @@ -52,6 +52,7 @@ int reboot_main(int argc, char *argv[]) int myoptind = 1; const char *myoptarg = NULL; + while ((ch = px4_getopt(argc, argv, "b", &myoptind, &myoptarg)) != -1) { switch (ch) { case 'b': @@ -60,7 +61,7 @@ int reboot_main(int argc, char *argv[]) default: PX4_ERR("usage: reboot [-b]\n" - " -b reboot into the bootloader"); + " -b reboot into the bootloader"); } }