2
0
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:
Michael Brown 2007-01-11 15:26:17 +00:00
parent 230f16538f
commit 3460860bef

View File

@ -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;
}