Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F137615776
D52432.id161779.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
576 B
Referenced Files
None
Subscribers
None
D52432.id161779.diff
View Options
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
@@ -630,7 +630,7 @@
gfx_state->tg_fb_type = FB_UGA;
gfx_state->tg_private = uga;
} else {
- return (1);
+ return (efi_status_to_errno(status));
}
}
@@ -644,9 +644,12 @@
break;
default:
- return (1);
+ return (EINVAL);
}
+ if (rv != 0)
+ return (rv);
+
gfx_state->tg_fb.fb_addr = efifb.fb_addr;
gfx_state->tg_fb.fb_size = efifb.fb_size;
gfx_state->tg_fb.fb_height = efifb.fb_height;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 25, 3:23 PM (8 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
22297475
Default Alt Text
D52432.id161779.diff (576 B)
Attached To
Mode
D52432: loader/efi: return error from efi_find_framebuffer
Attached
Detach File
Event Timeline
Log In to Comment