Fix r312613.

Somehow this slipped through my build testing.
This commit is contained in:
Justin Hibbits 2017-01-22 06:17:31 +00:00
parent 0b58112faf
commit 279ae8fec0

View File

@ -389,7 +389,7 @@ diu_attach(device_t dev)
OF_prop_free(edid_cells);
return (ENXIO);
}
videomode = edid->edid_preferred_mode;
videomode = edid.edid_preferred_mode;
} else {
/* Parse video-mode kenv variable. */
if ((err = sscanf(vm_name, "fslfb:%dx%d@%d", &w, &h, &r)) != 3) {