summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--term/users.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/term/users.c b/term/users.c
index 1464e84d..57dfabfd 100644
--- a/term/users.c
+++ b/term/users.c
@@ -78,8 +78,8 @@ struct protid_hook
void
init_users ()
{
- errno = ports_create_port (term_bucket, sizeof (struct port_info),
- cttyid_class, &cttyid);
+ errno = ports_create_port (cttyid_class, term_bucket,
+ sizeof (struct port_info), &cttyid);
if (errno)
{
perror ("Allocating cttyid");