diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-01-21 16:24:13 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-01-21 16:24:13 +0000 |
commit | 1df4c703e39363bec334e809d0a39a297ceceec2 (patch) | |
tree | 0bfc1d015919d713bf2187ecf95b176d42680ff7 /sys/arch/hp300/dev/rbox.c | |
parent | 6405d08b800a0b4df1a326899f3fac2c24649acb (diff) |
Oops, revert changes not intended to be commited in previous commit.
Diffstat (limited to 'sys/arch/hp300/dev/rbox.c')
-rw-r--r-- | sys/arch/hp300/dev/rbox.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hp300/dev/rbox.c b/sys/arch/hp300/dev/rbox.c index 6945b853777..a144c96297b 100644 --- a/sys/arch/hp300/dev/rbox.c +++ b/sys/arch/hp300/dev/rbox.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rbox.c,v 1.5 2005/01/21 16:22:34 miod Exp $ */ +/* $OpenBSD: rbox.c,v 1.6 2005/01/21 16:24:12 miod Exp $ */ /* * Copyright (c) 2005, Miodrag Vallat @@ -317,7 +317,7 @@ rbox_ioctl(void *v, u_long cmd, caddr_t data, int flags, struct proc *p) wdf->cmsize = 1 << fb->planes; break; case WSDISPLAYIO_LINEBYTES: - *(u_int *)data = fb->fbwidth; + *(u_int *)data = (fb->fbwidth * fb->planes) >> 3; break; case WSDISPLAYIO_GETCMAP: case WSDISPLAYIO_PUTCMAP: |