From owner-freebsd-current Wed Oct 24 14:43:10 2001 Delivered-To: freebsd-current@freebsd.org Received: from beppo.feral.com (beppo.feral.com [192.67.166.79]) by hub.freebsd.org (Postfix) with ESMTP id CB30D37B42B for ; Wed, 24 Oct 2001 14:42:48 -0700 (PDT) Received: from mailhost.feral.com (mjacob@mailhost.feral.com [192.67.166.1]) by beppo.feral.com (8.11.3/8.11.3) with ESMTP id f9OLgmH90863 for ; Wed, 24 Oct 2001 14:42:48 -0700 (PDT) (envelope-from mjacob@feral.com) Date: Wed, 24 Oct 2001 14:42:48 -0700 (PDT) From: Matthew Jacob X-Sender: mjacob@beppo Reply-To: mjacob@feral.com To: current@freebsd.org Subject: Re: latest patch? (fwd) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This seemed to fix things for me. ---------- Forwarded message ---------- Date: Wed, 24 Oct 2001 14:21:59 -0700 (PDT) From: Matthew Jacob To: Jonathan Lemon Subject: Re: latest patch? I sure saw it on an XP1000. Index: tty_cons.c =================================================================== RCS file: /home/ncvs/src/sys/kern/tty_cons.c,v retrieving revision 1.93 diff -u -r1.93 tty_cons.c --- tty_cons.c 2001/10/23 20:25:50 1.93 +++ tty_cons.c 2001/10/24 21:06:19 @@ -53,6 +53,7 @@ #include #include #include +#include #include @@ -230,6 +231,8 @@ } } +void cndebug(char *); + void cndebug(char *str) { @@ -365,7 +368,7 @@ { struct cn_device *cnd; - openflag = flag; + openflag = flag | FWRITE; /* XXX on the FWRITE */ cn_is_open = 1; /* console is logically open */ if (cn_mute) return (0); @@ -382,7 +385,7 @@ STAILQ_FOREACH(cnd, &cn_devlist, cnd_next) { if (cnd->cnd_vp == NULL) continue; - vn_close(cnd->cnd_vp, mode, td->td_proc->p_ucred, td); + vn_close(cnd->cnd_vp, openflag, td->td_proc->p_ucred, td); cnd->cnd_vp = NULL; } cn_is_open = 0; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message