Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- cgsix.c.orig 2016-04-12 18:46:37.000000000 +0300
- +++ cgsix.c 2016-04-13 17:12:47.000000000 +0300
- @@ -1178,7 +1178,6 @@ cgsix_ioctl(void *v, void *vs, u_long cm
- struct vcons_data *vd = v;
- struct cgsix_softc *sc = vd->cookie;
- struct wsdisplay_fbinfo *wdf;
- - struct rasops_info *ri = &sc->sc_fb.fb_rinfo;
- struct vcons_screen *ms = sc->vd.active;
- #ifdef CGSIX_DEBUG
- @@ -1190,9 +1189,9 @@ cgsix_ioctl(void *v, void *vs, u_long cm
- return 0;
- case WSDISPLAYIO_GINFO:
- wdf = (void *)data;
- - wdf->height = ri->ri_height;
- - wdf->width = ri->ri_width;
- - wdf->depth = ri->ri_depth;
- + wdf->height = sc->sc_height;
- + wdf->width = sc->sc_width;
- + wdf->depth = 8;
- wdf->cmsize = 256;
- return 0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement