aboutsummaryrefslogtreecommitdiff
path: root/libnetfs/file-chmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnetfs/file-chmod.c')
-rw-r--r--libnetfs/file-chmod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libnetfs/file-chmod.c b/libnetfs/file-chmod.c
index ac725c6c..92b3437e 100644
--- a/libnetfs/file-chmod.c
+++ b/libnetfs/file-chmod.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1995 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996 Free Software Foundation, Inc.
Written by Michael I. Bushnell, p/BSG.
This file is part of the GNU Hurd.
@@ -31,7 +31,7 @@ netfs_S_file_chmod (struct protid *user,
return EOPNOTSUPP;
mutex_lock (&user->po->np->lock);
- err = netfs_attempt_chmod (user->credential, user->po->np, mode);
+ err = netfs_attempt_chmod (user->user, user->po->np, mode);
mutex_unlock (&user->po->np->lock);
return err;
}