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) {
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to