diff options
| -rw-r--r-- | stand/efi/loader/main.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/stand/efi/loader/main.c b/stand/efi/loader/main.c index 4ff60e770113..7411f7b7c45c 100644 --- a/stand/efi/loader/main.c +++ b/stand/efi/loader/main.c @@ -1268,8 +1268,6 @@ main(int argc, CHAR16 *argv[]) "failures\n", i); } - devinit(); - /* * Detect console settings two different ways: one via the command * args (eg -h) or via the UEFI ConOut variable. @@ -1281,6 +1279,12 @@ main(int argc, CHAR16 *argv[]) howto &= ~RB_PROBE; /* + * We want to initialize after giving loader args a chance to elect a + * different console than what we autodetect. + */ + devinit(); + + /* * Read additional environment variables from the boot device's * "LoaderEnv" file. Any boot loader environment variable may be set * there, which are subtly different than loader.conf variables. Only |
