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;
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to