diff options
author | Warner Losh <imp@FreeBSD.org> | 2018-07-13 16:43:29 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2018-07-13 16:43:29 +0000 |
commit | c96ac12e5ceb855b1a6191c2f017af5fc08aafdc (patch) | |
tree | 3d79c015e86836e83a366bf976e38fe076015ab6 /stand/i386 | |
parent | 4569e91328cd8d92f8d3da9bdd299222de185c3e (diff) | |
download | src-c96ac12e5ceb855b1a6191c2f017af5fc08aafdc.tar.gz src-c96ac12e5ceb855b1a6191c2f017af5fc08aafdc.zip |
Transition to boot_env_to_howto and boot_howto_to_env in the boot
loader.
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D16205
Notes
Notes:
svn path=/head/; revision=336247
Diffstat (limited to 'stand/i386')
-rw-r--r-- | stand/i386/libi386/bootinfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stand/i386/libi386/bootinfo.c b/stand/i386/libi386/bootinfo.c index d49aa0ec315a..41901e5f928f 100644 --- a/stand/i386/libi386/bootinfo.c +++ b/stand/i386/libi386/bootinfo.c @@ -44,7 +44,7 @@ bi_getboothowto(char *kargs) int vidconsole; howto = boot_parse_cmdline(kargs); - howto |= bootenv_flags(); + howto |= boot_env_to_howto(); /* Enable selected consoles */ string = next = strdup(getenv("console")); @@ -80,7 +80,7 @@ void bi_setboothowto(int howto) { - bootenv_set(howto); + boot_howto_to_env(howto); } /* |