mirror of
https://github.com/ipxe/ipxe
synced 2025-12-13 07:20:47 +03:00
[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>
This commit is contained in:
@@ -185,8 +185,8 @@ int uriboot ( struct uri *filename, struct uri *root_path ) {
|
|||||||
rc = 0;
|
rc = 0;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
printf ( "No filename or root path specified\n" );
|
|
||||||
rc = -ENOENT;
|
rc = -ENOENT;
|
||||||
|
printf ( "Nothing to boot: %s\n", strerror ( rc ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
err_san_describe:
|
err_san_describe:
|
||||||
|
|||||||
Reference in New Issue
Block a user