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.