svn commit: r273940 - head/sys/boot/common
Marcel Moolenaar
marcel at FreeBSD.org
Sat Nov 1 18:51:49 UTC 2014
Author: marcel
Date: Sat Nov 1 18:51:48 2014
New Revision: 273940
URL: https://svnweb.freebsd.org/changeset/base/273940
Log:
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.
Modified:
head/sys/boot/common/install.c
Modified: head/sys/boot/common/install.c
==============================================================================
--- head/sys/boot/common/install.c Sat Nov 1 17:52:04 2014 (r273939)
+++ head/sys/boot/common/install.c Sat Nov 1 18:51:48 2014 (r273940)
@@ -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;
More information about the svn-src-all
mailing list