summaryrefslogtreecommitdiff
path: root/pfinet/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'pfinet/misc.c')
-rw-r--r--pfinet/misc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/pfinet/misc.c b/pfinet/misc.c
index 9b9086e0..1beed39e 100644
--- a/pfinet/misc.c
+++ b/pfinet/misc.c
@@ -27,9 +27,8 @@ make_sock_user (struct socket *sock, int isroot)
{
struct sock_user *user;
- errno = ports_create_port (pfinet_bucket,
- sizeof (struct sock_user),
- socketport_class, &user);
+ errno = ports_create_port (socketport_class, pfinet_bucket,
+ sizeof (struct sock_user), &user);
if (errno)
return 0;