mirror of
https://github.com/xcat2/xNBA.git
synced 2024-12-14 23:31:39 +00:00
Print informative error message when boot fails.
This commit is contained in:
parent
230f16538f
commit
3460860bef
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user