summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/uts/i86pc/dboot/dboot_startkern.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/i86pc/dboot/dboot_startkern.c b/usr/src/uts/i86pc/dboot/dboot_startkern.c
index f4d9dbd0f9..9647dbe87d 100644
--- a/usr/src/uts/i86pc/dboot/dboot_startkern.c
+++ b/usr/src/uts/i86pc/dboot/dboot_startkern.c
@@ -2043,7 +2043,7 @@ build_page_tables(void)
* Map framebuffer memory as PT_NOCACHE as this is memory from a
* device and therefore must not be cached.
*/
- if (bi->bi_framebuffer != NULL && fb->framebuffer != 0) {
+ if (fb != NULL && fb->framebuffer != 0) {
multiboot_tag_framebuffer_t *fb_tagp;
fb_tagp = (multiboot_tag_framebuffer_t *)(uintptr_t)
fb->framebuffer;