diff options
author | Michael Brown | 2007-01-11 16:26:17 +0100 |
---|---|---|
committer | Michael Brown | 2007-01-11 16:26:17 +0100 |
commit | 3460860befbef4f091f06a2f71de36e9cfb3d13a (patch) | |
tree | fcc592136260ba6a27f486bfdb26d4898cc6dda5 /src/tests | |
parent | Create include/gpxe/elf.h for the ELF bits that aren't part of the ELF (diff) | |
download | ipxe-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.c | 2 |
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; } |