http://git.etherboot.org
/
people
/
xl0
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
230f165
)
Print informative error message when boot fails.
author
Michael Brown
<mcb30@etherboot.org>
Thu, 11 Jan 2007 15:26:17 +0000
(15:26 +0000)
committer
Michael Brown
<mcb30@etherboot.org>
Thu, 11 Jan 2007 15:26:17 +0000
(15:26 +0000)
src/tests/dhcptest.c
patch
|
blob
|
history
diff --git
a/src/tests/dhcptest.c
b/src/tests/dhcptest.c
index
5cca514
..
5d6f52d
100644
(file)
--- 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 ) {
/* Test boot */
if ( ( rc = test_dhcp_boot ( netdev, filename ) ) != 0 ) {
- printf ( "Boot failed
\n"
);
+ printf ( "Boot failed
: %s\n", strerror ( rc )
);
goto out;
}
goto out;
}