format src/systemcmds/reboot

This commit is contained in:
Daniel Agar 2015-09-05 12:21:11 -04:00
parent 354bde9627
commit 01cc966b3b
1 changed files with 2 additions and 1 deletions

View File

@ -52,6 +52,7 @@ int reboot_main(int argc, char *argv[])
int myoptind = 1; int myoptind = 1;
const char *myoptarg = NULL; const char *myoptarg = NULL;
while ((ch = px4_getopt(argc, argv, "b", &myoptind, &myoptarg)) != -1) { while ((ch = px4_getopt(argc, argv, "b", &myoptind, &myoptarg)) != -1) {
switch (ch) { switch (ch) {
case 'b': case 'b':
@ -60,7 +61,7 @@ int reboot_main(int argc, char *argv[])
default: default:
PX4_ERR("usage: reboot [-b]\n" PX4_ERR("usage: reboot [-b]\n"
" -b reboot into the bootloader"); " -b reboot into the bootloader");
} }
} }