diff options
author | Miles Bader <miles@gnu.org> | 1997-02-20 08:09:13 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1997-02-20 08:09:13 +0000 |
commit | 03cfbf864f80b288f06468fe5bd76f9b8d522263 (patch) | |
tree | 6e4633366bae6f12cb2c0f31f497066904a069c9 /term/main.c | |
parent | 535abb28f4ec8cf7a175219f9edeb8f107354faf (diff) |
(main):
Initialize TTY_CLASS & PTY_CLASS too instead of
doing TTY_CNTL_CLASS & PTY_CNTL_CLASS twice.
Diffstat (limited to 'term/main.c')
-rw-r--r-- | term/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/term/main.c b/term/main.c index 0b34beef..7452dcd8 100644 --- a/term/main.c +++ b/term/main.c @@ -60,8 +60,8 @@ main (int argc, char **argv) trivfs_add_control_port_class (&tty_cntl_class); trivfs_add_control_port_class (&pty_cntl_class); - trivfs_add_protid_port_class (&tty_cntl_class); - trivfs_add_protid_port_class (&pty_cntl_class); + trivfs_add_protid_port_class (&tty_class); + trivfs_add_protid_port_class (&pty_class); cttyid_class = ports_create_class (0, 0); |