Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Apr 2017 04:29:57 +0000 (UTC)
From:      Allan Jude <allanjude@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r316437 - head/sys/boot/i386/loader
Message-ID:  <201704030429.v334Tv9F071089@repo.freebsd.org>

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



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