The file_loadraw function grew an argument, update install function

accordingly.

Reviewed by:	imp
Approved by:	sjg (mentor)
MFC after:	2 weeks
Sponsored by:	Juniper Networks, Inc.
Differential Revision:	https://reviews.freebsd.org/D8494
This commit is contained in:
stevek 2016-11-11 16:59:26 +00:00
parent 4e3225dd44
commit e871df6446

View File

@ -286,7 +286,7 @@ install(char *pkgname)
}
s = (inst_rootfs == NULL) ? "/install.iso" : inst_rootfs;
if (file_loadraw(s, "mfs_root") == NULL) {
if (file_loadraw(s, "mfs_root", 1) == NULL) {
error = errno;
command_errmsg = "cannot load root file system";
goto fail;