|
@@ -41,6 +41,11 @@ FILE_LICENCE ( GPL2_OR_LATER );
|
41
|
41
|
*
|
42
|
42
|
*/
|
43
|
43
|
|
|
44
|
+/* Disambiguate the various error causes */
|
|
45
|
+#define ENOENT_BOOT __einfo_error ( EINFO_ENOENT_BOOT )
|
|
46
|
+#define EINFO_ENOENT_BOOT \
|
|
47
|
+ __einfo_uniqify ( EINFO_ENOENT, 0x01, "Nothing to boot" )
|
|
48
|
+
|
44
|
49
|
/**
|
45
|
50
|
* Perform PXE menu boot when PXE stack is not available
|
46
|
51
|
*/
|
|
@@ -185,7 +190,7 @@ int uriboot ( struct uri *filename, struct uri *root_path ) {
|
185
|
190
|
rc = 0;
|
186
|
191
|
}
|
187
|
192
|
} else {
|
188
|
|
- rc = -ENOENT;
|
|
193
|
+ rc = -ENOENT_BOOT;
|
189
|
194
|
printf ( "Nothing to boot: %s\n", strerror ( rc ) );
|
190
|
195
|
}
|
191
|
196
|
|