summaryrefslogtreecommitdiff
path: root/pfinet
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-05-10 20:59:31 +0000
committerMiles Bader <miles@gnu.org>1996-05-10 20:59:31 +0000
commit1dab89c44e2af391d25f01a235d5f8d5a544fd52 (patch)
treec1523e413276bb0ee6a01994a679ea578a4c59a6 /pfinet
parent3905fb1ebfc6c9b59155400794671ca3b4f2a17a (diff)
(make_sock_user): Pass correct args to ports_create_port.
Diffstat (limited to 'pfinet')
-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;