svn commit: r308534 - head/sys/boot/common

Stephen J. Kiernan stevek at FreeBSD.org
Fri Nov 11 16:59:27 UTC 2016


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;


More information about the svn-src-all mailing list