Procházet zdrojové kódy

Print informative error message when boot fails.

tags/v0.9.3
Michael Brown před 19 roky
rodič
revize
3460860bef
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      src/tests/dhcptest.c

+ 1
- 1
src/tests/dhcptest.c Zobrazit soubor

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
 	

Načítá se…
Zrušit
Uložit