diff options
author | Michael Brown | 2007-01-10 03:03:20 +0100 |
---|---|---|
committer | Michael Brown | 2007-01-10 03:03:20 +0100 |
commit | 55e590ab3aeac9a7fb5067bcef1e79922d91e67a (patch) | |
tree | 4b6cec58e83818b9d71d29cdd4a8d4ef97b5e992 /src/hci/commands/boot_cmd.c | |
parent | Added network interface management commands (diff) | |
download | ipxe-55e590ab3aeac9a7fb5067bcef1e79922d91e67a.tar.gz ipxe-55e590ab3aeac9a7fb5067bcef1e79922d91e67a.tar.xz ipxe-55e590ab3aeac9a7fb5067bcef1e79922d91e67a.zip |
Move header file for usr/autoboot.c to include/usr
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 = { |