diff options
author | Thomas Graichen <graichen@cvs.openbsd.org> | 1997-06-10 14:19:04 +0000 |
---|---|---|
committer | Thomas Graichen <graichen@cvs.openbsd.org> | 1997-06-10 14:19:04 +0000 |
commit | d78c3e0c4b3482bcc998de4d120c74e31c5728c5 (patch) | |
tree | 754f54a7fa91cec3cf438faf03da90ac55300610 /sys/arch/pmax/dev/fb_usrreq.c | |
parent | c1f2151f781958b5795a8828cd42b912f0e0f197 (diff) |
update the pmax specific stuff to NetBSD-current as of about 970608 - some
cosmetic things will follow together with an update to an exact NETBSD_CU-
RRENT_xxxxxx level
Diffstat (limited to 'sys/arch/pmax/dev/fb_usrreq.c')
-rw-r--r-- | sys/arch/pmax/dev/fb_usrreq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/pmax/dev/fb_usrreq.c b/sys/arch/pmax/dev/fb_usrreq.c index 9b01185eb50..b183c32c742 100644 --- a/sys/arch/pmax/dev/fb_usrreq.c +++ b/sys/arch/pmax/dev/fb_usrreq.c @@ -183,11 +183,11 @@ fbioctl(dev, cmd, data, flag, p) break; case FBIOGVIDEO: - *(int *)data = fi->fi_blanked; + *(int *)data = (fi->fi_blanked) ? FBVIDEO_OFF: FBVIDEO_ON; break; case FBIOSVIDEO: - if (*(int *)data) + if (*(int *)data == FBVIDEO_OFF) return (*(fi->fi_driver->fbd_blank)) (fi); else return (*(fi->fi_driver->fbd_unblank)) (fi); |