Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/wscons One more ioctl() fix. Most of WSDISPLAYIO_xx...



details:   https://anonhg.NetBSD.org/src/rev/e4d744e63e09
branches:  trunk
changeset: 475808:e4d744e63e09
user:      nisimura <nisimura%NetBSD.org@localhost>
date:      Thu Aug 26 06:37:42 1999 +0000

description:
One more ioctl() fix.  Most of WSDISPLAYIO_xxx were never been called when
no wsmux device is installed.

diffstat:

 sys/dev/wscons/wsmux.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 7fa295aeb783 -r e4d744e63e09 sys/dev/wscons/wsmux.c
--- a/sys/dev/wscons/wsmux.c    Thu Aug 26 02:56:59 1999 +0000
+++ b/sys/dev/wscons/wsmux.c    Thu Aug 26 06:37:42 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wsmux.c,v 1.5 1999/08/25 21:05:21 augustss Exp $       */
+/*     $NetBSD: wsmux.c,v 1.6 1999/08/26 06:37:42 nisimura Exp $       */
 
 /*
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -652,7 +652,7 @@
 #endif
 
        /* Return 0 if any of the ioctl() succeeds, otherwise the last error */
-       error = 0;
+       error = -1;
        ok = 0;
        for (m = LIST_FIRST(&sc->sc_reals); m; m = LIST_NEXT(m, next)) {
                DPRINTF(("wsmux_displayioctl: m=%p sc=%p sc_muxp=%p\n", 



Home | Main Index | Thread Index | Old Index