diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2010-04-07 18:16:04 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2010-04-07 18:16:04 +0000 |
commit | ce8992a85462a1d9e52c6b641b7f9f2bbe958034 (patch) | |
tree | d4a05700c0b5e60d4c3594f63bdb4f5f1c4d9f20 /sys | |
parent | 5670bacc392644691373d19999fd2db942d2653c (diff) |
Correctly initialize cursor attribute when this display is a console device;
tested by marco@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sgi/xbow/odyssey.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/arch/sgi/xbow/odyssey.c b/sys/arch/sgi/xbow/odyssey.c index 7b85701650e..36abd2c9cfe 100644 --- a/sys/arch/sgi/xbow/odyssey.c +++ b/sys/arch/sgi/xbow/odyssey.c @@ -1,4 +1,4 @@ -/* $OpenBSD: odyssey.c,v 1.5 2010/04/06 19:12:34 miod Exp $ */ +/* $OpenBSD: odyssey.c,v 1.6 2010/04/07 18:16:03 miod Exp $ */ /* * Copyright (c) 2009, 2010 Joel Sing <jsing@openbsd.org> * @@ -1097,7 +1097,6 @@ odyssey_cnattach() { struct odyssey_softc *sc; struct odyssey_screen *screen; - long attr; int rc; sc = &odyssey_cons_sc; @@ -1132,10 +1131,8 @@ odyssey_cnattach() /* * Attach wsdisplay. */ - odyssey_consdata.ri.ri_ops.alloc_attr(&odyssey_consdata.ri, - 0, 0, 0, &attr); - wsdisplay_cnattach(&odyssey_stdscreen, &odyssey_consdata.ri, - 0, 0, attr); + screen->ri.ri_ops.alloc_attr(&screen->ri, 0, 0, 0, &screen->attr); + wsdisplay_cnattach(&odyssey_stdscreen, &screen->ri, 0, 0, screen->attr); return 0; } |