diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-07-17 00:56:38 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-07-17 00:56:38 +0000 |
commit | 736cbfb639692723f08460867fc95a54965640cc (patch) | |
tree | 9492f96ed24eff66891c56d3f0a43e43692a0d94 /term | |
parent | 8508531c9b171d75b593efa758fcaa61618b4b93 (diff) |
(main): term_mode needs S_IFCHR.
Diffstat (limited to 'term')
-rw-r--r-- | term/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |