summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libnetfs/make-protid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnetfs/make-protid.c b/libnetfs/make-protid.c
index c92d21e4..352698e2 100644
--- a/libnetfs/make-protid.c
+++ b/libnetfs/make-protid.c
@@ -26,7 +26,7 @@ netfs_make_protid (struct peropen *po, struct netcred *cred)
struct protid *pi;
errno = ports_create_port (netfs_protid_class, netfs_port_bucket,
- sizeof (struct protid, &pi));
+ sizeof (struct protid), &pi);
if (errno)
return 0;