summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorMichael Brown2007-01-11 16:26:17 +0100
committerMichael Brown2007-01-11 16:26:17 +0100
commit3460860befbef4f091f06a2f71de36e9cfb3d13a (patch)
treefcc592136260ba6a27f486bfdb26d4898cc6dda5 /src/tests
parentCreate include/gpxe/elf.h for the ELF bits that aren't part of the ELF (diff)
downloadipxe-3460860befbef4f091f06a2f71de36e9cfb3d13a.tar.gz
ipxe-3460860befbef4f091f06a2f71de36e9cfb3d13a.tar.xz
ipxe-3460860befbef4f091f06a2f71de36e9cfb3d13a.zip
Print informative error message when boot fails.
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/dhcptest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/dhcptest.c b/src/tests/dhcptest.c
index 5cca514b..5d6f52dc 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;
}