Author: stevek
Date: Fri Nov 11 16:59:26 2016
New Revision: 308534
URL: https://svnweb.freebsd.org/changeset/base/308534

Log:
  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

Modified:
  head/sys/boot/common/install.c

Modified: head/sys/boot/common/install.c
==============================================================================
--- head/sys/boot/common/install.c      Fri Nov 11 15:42:12 2016        
(r308533)
+++ head/sys/boot/common/install.c      Fri Nov 11 16:59:26 2016        
(r308534)
@@ -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;
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to