From: Michael Brown Date: Thu, 11 Jan 2007 15:26:17 +0000 (+0000) Subject: Print informative error message when boot fails. X-Git-Tag: v0.9.3~694 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3460860befbef4f091f06a2f71de36e9cfb3d13a;p=thirdparty%2Fipxe.git Print informative error message when boot fails. --- diff --git a/src/tests/dhcptest.c b/src/tests/dhcptest.c index 5cca514b3..5d6f52dc2 100644 --- a/src/tests/dhcptest.c +++ b/src/tests/dhcptest.c @@ -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; }