diff options
author | marcel <marcel@FreeBSD.org> | 2014-11-01 18:51:48 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2014-11-01 18:51:48 +0000 |
commit | 48170341206d834f2083ffaa5ee1b6fc27a85de3 (patch) | |
tree | 829a20442585fa66b9d0ffba120e91d0824d445d /sys/boot | |
parent | c3198cc7ab07932eb39344dc2399b5d45f220ad9 (diff) | |
download | FreeBSD-src-48170341206d834f2083ffaa5ee1b6fc27a85de3.zip FreeBSD-src-48170341206d834f2083ffaa5ee1b6fc27a85de3.tar.gz |
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.
Diffstat (limited to 'sys/boot')
-rw-r--r-- | sys/boot/common/install.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/common/install.c b/sys/boot/common/install.c index 1c2c82c..36e7c64 100644 --- a/sys/boot/common/install.c +++ b/sys/boot/common/install.c @@ -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; |