From owner-svn-src-head@freebsd.org Mon Apr 3 04:29:58 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A4B41D2B48F; Mon, 3 Apr 2017 04:29:58 +0000 (UTC) (envelope-from allanjude@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7254FD11; Mon, 3 Apr 2017 04:29:58 +0000 (UTC) (envelope-from allanjude@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v334TvMr071090; Mon, 3 Apr 2017 04:29:57 GMT (envelope-from allanjude@FreeBSD.org) Received: (from allanjude@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v334Tv9F071089; Mon, 3 Apr 2017 04:29:57 GMT (envelope-from allanjude@FreeBSD.org) Message-Id: <201704030429.v334Tv9F071089@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: allanjude set sender to allanjude@FreeBSD.org using -f From: Allan Jude Date: Mon, 3 Apr 2017 04:29:57 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r316437 - head/sys/boot/i386/loader X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Apr 2017 04:29:58 -0000 Author: allanjude Date: Mon Apr 3 04:29:57 2017 New Revision: 316437 URL: https://svnweb.freebsd.org/changeset/base/316437 Log: Small cleanup to make i386/loader match efi/loader boot environment code Modified: head/sys/boot/i386/loader/main.c Modified: head/sys/boot/i386/loader/main.c ============================================================================== --- head/sys/boot/i386/loader/main.c Mon Apr 3 04:28:53 2017 (r316436) +++ head/sys/boot/i386/loader/main.c Mon Apr 3 04:29:57 2017 (r316437) @@ -418,7 +418,7 @@ command_reloadbe(int argc, char *argv[]) /* There does not appear to be a ZFS pool here, exit without error */ return (CMD_OK); } - err = zfs_bootenv(getenv("zfs_be_root")); + err = zfs_bootenv(root); } if (err != 0) {