mirror of
https://github.com/ipxe/ipxe
synced 2025-12-14 16:01:38 +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 */
|
||||
if ( ( rc = test_dhcp_boot ( netdev, filename ) ) != 0 ) {
|
||||
printf ( "Boot failed\n" );
|
||||
printf ( "Boot failed: %s\n", strerror ( rc ) );
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user