浏览代码

[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 14 年前
父节点
当前提交
7617e36f9e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/usr/autoboot.c

+ 1
- 1
src/usr/autoboot.c 查看文件

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:

正在加载...
取消
保存