This seemed to fix things for me.
---------- Forwarded message ---------- Date: Wed, 24 Oct 2001 14:21:59 -0700 (PDT) From: Matthew Jacob <[EMAIL PROTECTED]> To: Jonathan Lemon <[EMAIL PROTECTED]> 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 <sys/tty.h> #include <sys/uio.h> #include <sys/vnode.h> +#include <sys/fcntl.h> #include <machine/cpu.h> @@ -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 [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message