diff options
author | Michael Brown | 2011-02-28 19:35:56 +0100 |
---|---|---|
committer | Michael Brown | 2011-02-28 19:35:56 +0100 |
commit | 7617e36f9e21808c71fb54ac476f6d3eb2f5fff9 (patch) | |
tree | fc2a82bedbd4f39af5dfdcf93d8dd2608b0556a5 /src/usr/autoboot.c | |
parent | [linux] Remove Linux-specific code from default (non-Linux) build (diff) | |
download | ipxe-7617e36f9e21808c71fb54ac476f6d3eb2f5fff9.tar.gz ipxe-7617e36f9e21808c71fb54ac476f6d3eb2f5fff9.tar.xz ipxe-7617e36f9e21808c71fb54ac476f6d3eb2f5fff9.zip |
[autoboot] Add an iPXE error URI to the "nothing to boot" message
Change the message "No filename or root path specified" to include an
iPXE error URI.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/usr/autoboot.c')
-rw-r--r-- | src/usr/autoboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/autoboot.c b/src/usr/autoboot.c index bb7d692e..407e7386 100644 --- a/src/usr/autoboot.c +++ b/src/usr/autoboot.c @@ -185,8 +185,8 @@ int uriboot ( struct uri *filename, struct uri *root_path ) { rc = 0; } } else { - printf ( "No filename or root path specified\n" ); rc = -ENOENT; + printf ( "Nothing to boot: %s\n", strerror ( rc ) ); } err_san_describe: |