From: Michael Brown Date: Mon, 28 Feb 2011 18:35:56 +0000 (+0000) Subject: [autoboot] Add an iPXE error URI to the "nothing to boot" message X-Git-Tag: v1.20.1~2295 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7617e36f9e21808c71fb54ac476f6d3eb2f5fff9;p=thirdparty%2Fipxe.git [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 --- diff --git a/src/usr/autoboot.c b/src/usr/autoboot.c index bb7d692ef..407e73869 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: