diff options
Diffstat (limited to 'src/hci/commands/boot_cmd.c')
-rw-r--r-- | src/hci/commands/boot_cmd.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/hci/commands/boot_cmd.c b/src/hci/commands/boot_cmd.c index 0681ec54..fd8cba74 100644 --- a/src/hci/commands/boot_cmd.c +++ b/src/hci/commands/boot_cmd.c @@ -1,18 +1,22 @@ #include <vsprintf.h> #include <gpxe/command.h> -#include <gpxe/autoboot.h> +#include <usr/autoboot.h> static int boot_exec ( int argc, char **argv ) { if ( argc != 1 ) { - printf ( "Usage: %s\n" - "Attempts to boot the system\n", argv[0] ); + printf ( "Usage:\n" + " %s\n" + "\n" + "Attempts to boot the system\n", + argv[0] ); return 1; } autoboot(); - return 0; + /* Can never return success by definition */ + return 1; } struct command boot_command __command = { |