aboutsummaryrefslogtreecommitdiff
path: root/libnetfs/make-protid.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnetfs/make-protid.c')
-rw-r--r--libnetfs/make-protid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libnetfs/make-protid.c b/libnetfs/make-protid.c
index 7d9240a1..bf18283c 100644
--- a/libnetfs/make-protid.c
+++ b/libnetfs/make-protid.c
@@ -21,7 +21,7 @@
#include "netfs.h"
struct protid *
-netfs_make_protid (struct peropen *po, struct netcred *cred)
+netfs_make_protid (struct peropen *po, struct iouser *cred)
{
struct protid *pi;
@@ -38,7 +38,7 @@ netfs_make_protid (struct peropen *po, struct netcred *cred)
po->refcnt++;
pi->po = po;
- pi->credential = cred;
+ pi->user = cred;
pi->shared_object = MACH_PORT_NULL;
pi->mapped = 0;
return pi;