diff options
author | sos <sos@FreeBSD.org> | 1996-09-09 18:47:47 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 1996-09-09 18:47:47 +0000 |
commit | a6a179df03b2c8dac42eee7c39726cf90ea63d9c (patch) | |
tree | e6a25c3dc75095f5834b07fd9cf7a13a02f6acb5 /usr.sbin/moused/moused.c | |
parent | 4485fb37057d76ee027c78f072f878be202b1984 (diff) | |
download | FreeBSD-src-a6a179df03b2c8dac42eee7c39726cf90ea63d9c.zip FreeBSD-src-a6a179df03b2c8dac42eee7c39726cf90ea63d9c.tar.gz |
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).
Diffstat (limited to 'usr.sbin/moused/moused.c')
-rw-r--r-- | usr.sbin/moused/moused.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) |