From 7617e36f9e21808c71fb54ac476f6d3eb2f5fff9 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 28 Feb 2011 18:35:56 +0000 Subject: [PATCH] [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 --- src/usr/autoboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: