summaryrefslogtreecommitdiff
path: root/libnetfs/file-chown.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnetfs/file-chown.c')
-rw-r--r--libnetfs/file-chown.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libnetfs/file-chown.c b/libnetfs/file-chown.c
index d3484ba0..4b724048 100644
--- a/libnetfs/file-chown.c
+++ b/libnetfs/file-chown.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.
@@ -32,7 +32,7 @@ netfs_S_file_chown (struct protid *user,
return EOPNOTSUPP;
mutex_lock (&user->po->np->lock);
- err = netfs_attempt_chown (user->credential, user->po->np,
+ err = netfs_attempt_chown (user->user, user->po->np,
owner, group);
mutex_unlock (&user->po->np->lock);
return err;