diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1996-07-30 15:20:08 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1996-07-30 15:20:08 +0000 |
| commit | 58db4b5a8f67e79c6a7c56b1bd5f19f962b159a8 (patch) | |
| tree | 6fbdb80814deaa2fe9efc5e6620f0d80d2e866a6 /sys/dev/syscons | |
| parent | 49a598ab871d98eba3cd0a21937b729716727cbb (diff) | |
Notes
Diffstat (limited to 'sys/dev/syscons')
| -rw-r--r-- | sys/dev/syscons/syscons.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c index 31ac072a5eb3..5d6ea9a4ca6e 100644 --- a/sys/dev/syscons/syscons.c +++ b/sys/dev/syscons/syscons.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: syscons.c,v 1.158 1996/06/27 21:36:11 joerg Exp $ + * $Id: syscons.c,v 1.159 1996/07/01 20:28:38 bde Exp $ */ #include "sc.h" @@ -659,7 +659,7 @@ scioctl(dev_t dev, int cmd, caddr_t data, int flag, struct proc *p) switch (cmd) { /* process console hardware related ioctl's */ case GIO_ATTR: /* get current attributes */ - *(int*)data = scp->term.cur_attr; + *(int*)data = (scp->term.cur_attr >> 8) & 0xFF; return 0; case GIO_COLOR: /* is this a color console ? */ |
