Page MenuHomeFreeBSD

D52477.diff
No OneTemporary

D52477.diff

diff --git a/stand/efi/loader/framebuffer.c b/stand/efi/loader/framebuffer.c
--- a/stand/efi/loader/framebuffer.c
+++ b/stand/efi/loader/framebuffer.c
@@ -894,14 +894,14 @@
* "blt off" does block gop->Blt() to be used and use
* software rendering instead.
*/
- if (argc != 3)
+ if (argc < 2 || argc > 3)
goto usage;
if (strcmp(argv[2], "on") == 0)
ignore_gop_blt = false;
else if (strcmp(argv[2], "off") == 0)
ignore_gop_blt = true;
else
- goto usage;
+ printf("blt is %s\n", ignore_gop_blt? "off" : "on");
} else if (strcmp(argv[1], "off") == 0) {
/*
* Tell console to use SimpleTextOutput protocol.

File Metadata

Mime Type
text/plain
Expires
Sat, Sep 5, 3:04 PM (47 m, 16 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38284916
Default Alt Text
D52477.diff (650 B)

Event Timeline