Browse Source

[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>
tags/v1.20.1
Michael Brown 13 years ago
parent
commit
7617e36f9e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/usr/autoboot.c

+ 1
- 1
src/usr/autoboot.c View File

@@ -185,8 +185,8 @@ int uriboot ( struct uri *filename, struct uri *root_path ) {
185 185
 			rc = 0;
186 186
 		}
187 187
 	} else {
188
-		printf ( "No filename or root path specified\n" );
189 188
 		rc = -ENOENT;
189
+		printf ( "Nothing to boot: %s\n", strerror ( rc ) );
190 190
 	}
191 191
 
192 192
  err_san_describe:

Loading…
Cancel
Save