mirror of
https://github.com/ipxe/ipxe
synced 2026-02-14 02:31:26 +03:00
Print informative error message when boot fails.
This commit is contained in:
@@ -251,7 +251,7 @@ int test_dhcp ( struct net_device *netdev ) {
|
|||||||
|
|
||||||
/* Test boot */
|
/* Test boot */
|
||||||
if ( ( rc = test_dhcp_boot ( netdev, filename ) ) != 0 ) {
|
if ( ( rc = test_dhcp_boot ( netdev, filename ) ) != 0 ) {
|
||||||
printf ( "Boot failed\n" );
|
printf ( "Boot failed: %s\n", strerror ( rc ) );
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user