Browse Source

Print informative error message when boot fails.

tags/v0.9.3
Michael Brown 18 years ago
parent
commit
3460860bef
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/tests/dhcptest.c

+ 1
- 1
src/tests/dhcptest.c View File

251
 
251
 
252
 	/* Test boot */
252
 	/* Test boot */
253
 	if ( ( rc = test_dhcp_boot ( netdev, filename ) ) != 0 ) {
253
 	if ( ( rc = test_dhcp_boot ( netdev, filename ) ) != 0 ) {
254
-		printf ( "Boot failed\n" );
254
+		printf ( "Boot failed: %s\n", strerror ( rc ) );
255
 		goto out;
255
 		goto out;
256
 	}
256
 	}
257
 	
257
 	

Loading…
Cancel
Save