From a6a179df03b2c8dac42eee7c39726cf90ea63d9c Mon Sep 17 00:00:00 2001 From: sos Date: Mon, 9 Sep 1996 18:47:47 +0000 Subject: Fix for the problem that moused hangs if it is started from /etc/rc Introduces the /dev/consolectl device for controlling various console related things (given syscons is used). --- usr.sbin/moused/moused.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/moused') diff --git a/usr.sbin/moused/moused.c b/usr.sbin/moused/moused.c index 485451c..9a124cd 100644 --- a/usr.sbin/moused/moused.c +++ b/usr.sbin/moused/moused.c @@ -30,7 +30,7 @@ ** EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ** ** - ** $Id: moused.c,v 1.1 1996/06/21 09:24:09 sos Exp $ + ** $Id: moused.c,v 1.2 1996/06/25 08:54:57 sos Exp $ **/ /** @@ -223,7 +223,7 @@ main(int argc, char *argv[]) } r_init(); /* call init function */ - if ((cfd = open("/dev/console", O_RDWR, 0)) == -1) + if ((cfd = open("/dev/consolectl", O_RDWR, 0)) == -1) fprintf(stderr, "error on /dev/console\n"); if (!nodaemon) -- cgit v1.1