Parcourir la source

[autoboot] Add an iPXE error URI to the "nothing to boot" message

Change the message "No filename or root path specified" to include an
iPXE error URI.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown il y a 13 ans
Parent
révision
7617e36f9e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      src/usr/autoboot.c

+ 1
- 1
src/usr/autoboot.c Voir le fichier

185
 			rc = 0;
185
 			rc = 0;
186
 		}
186
 		}
187
 	} else {
187
 	} else {
188
-		printf ( "No filename or root path specified\n" );
189
 		rc = -ENOENT;
188
 		rc = -ENOENT;
189
+		printf ( "Nothing to boot: %s\n", strerror ( rc ) );
190
 	}
190
 	}
191
 
191
 
192
  err_san_describe:
192
  err_san_describe:

Chargement…
Annuler
Enregistrer