summaryrefslogtreecommitdiff
path: root/pfinet/socket-ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'pfinet/socket-ops.c')
-rw-r--r--pfinet/socket-ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pfinet/socket-ops.c b/pfinet/socket-ops.c
index 3f8b7fbc..14b3120c 100644
--- a/pfinet/socket-ops.c
+++ b/pfinet/socket-ops.c
@@ -82,7 +82,7 @@ S_socket_create (struct trivfs_protid *master,
isroot = 1;
}
- if (master->pi.class == trivfs_protid_portclasses[PORTCLASS_INET])
+ if (master->pi.class == pfinet_protid_portclasses[PORTCLASS_INET])
err = - (*net_families[PF_INET]->create) (sock, protocol);
else
err = - (*net_families[PF_INET6]->create) (sock, protocol);