Page MenuHomeFreeBSD

D13541.diff
No OneTemporary

D13541.diff

Index: head/stand/efi/boot1/boot1.c
===================================================================
--- head/stand/efi/boot1/boot1.c
+++ head/stand/efi/boot1/boot1.c
@@ -430,10 +430,10 @@
conout = ST->ConOut;
conout->Reset(conout, TRUE);
max_dim = best_mode = 0;
- for (i = 0; ; i++) {
+ for (i = 0; i < conout->Mode->MaxMode; i++) {
status = conout->QueryMode(conout, i, &cols, &rows);
if (EFI_ERROR(status))
- break;
+ continue;
if (cols * rows > max_dim) {
max_dim = cols * rows;
best_mode = i;

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 22, 6:22 AM (19 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15551201
Default Alt Text
D13541.diff (529 B)

Event Timeline