summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--term/main.c4
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);