diff options
| author | Toomas Soome <tsoome@FreeBSD.org> | 2021-02-04 20:49:02 +0000 |
|---|---|---|
| committer | Toomas Soome <tsoome@FreeBSD.org> | 2021-02-04 21:29:38 +0000 |
| commit | 2bd4ff2d8911009283e4e615ca4aad35a845f48b (patch) | |
| tree | b493be58a6619a111f96d673b3e2ea2be54585c0 /stand | |
| parent | aa77662373e378c05dfe9ce328be60bd792b5354 (diff) | |
Diffstat (limited to 'stand')
| -rw-r--r-- | stand/efi/loader/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stand/efi/loader/main.c b/stand/efi/loader/main.c index ca41cd4a2610..32b278950745 100644 --- a/stand/efi/loader/main.c +++ b/stand/efi/loader/main.c @@ -735,6 +735,8 @@ parse_uefi_con_out(void) how = 0; sz = sizeof(buf); rv = efi_global_getenv("ConOut", buf, &sz); + if (rv != EFI_SUCCESS) + rv = efi_global_getenv("ConOutDev", buf, &sz); if (rv != EFI_SUCCESS) { /* If we don't have any ConOut default to serial */ how = RB_SERIAL; |
