Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Nov 2016 16:59:26 +0000 (UTC)
From:      "Stephen J. Kiernan" <stevek@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r308534 - head/sys/boot/common
Message-ID:  <201611111659.uABGxQ74023892@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611111659.uABGxQ74023892>