Change the order of the arguments to file_loadraw(). They were swapped
as of r262345 when file_loadraw() was made public and this little detail got overlooked during porting. Obtained from: Juniper Networks, Inc.
This commit is contained in:
parent
c3198cc7ab
commit
4817034120
@ -286,7 +286,7 @@ install(char *pkgname)
|
||||
}
|
||||
|
||||
s = (inst_rootfs == NULL) ? "/install.iso" : inst_rootfs;
|
||||
if (file_loadraw("mfs_root", s) == NULL) {
|
||||
if (file_loadraw(s, "mfs_root") == NULL) {
|
||||
error = errno;
|
||||
command_errmsg = "cannot load root file system";
|
||||
goto fail;
|
||||
|
Loading…
Reference in New Issue
Block a user