svn commit: r316437 - head/sys/boot/i386/loader

Allan Jude allanjude at FreeBSD.org
Mon Apr 3 04:29:58 UTC 2017


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) {


More information about the svn-src-all mailing list