From 736cbfb639692723f08460867fc95a54965640cc Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Wed, 17 Jul 1996 00:56:38 +0000 Subject: (main): term_mode needs S_IFCHR. --- term/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'term') diff --git a/term/main.c b/term/main.c index 8947b335..d0702e83 100644 --- a/term/main.c +++ b/term/main.c @@ -178,7 +178,7 @@ main (int argc, char **argv) mutex_init (&global_lock); term_owner = term_group = 0; - term_mode = bottom == &ptyio_bottom ? 0666 : 0600; + term_mode = (bottom == &ptyio_bottom ? 0666 : 0600) | S_IFCHR; inputq = create_queue (256, 100, 300); rawq = create_queue (256, 100, 300); -- cgit v1.2.3