summaryrefslogtreecommitdiff
path: root/libnetfs/file-chflags.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnetfs/file-chflags.c')
-rw-r--r--libnetfs/file-chflags.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libnetfs/file-chflags.c b/libnetfs/file-chflags.c
index 3bb96938..068a1cea 100644
--- a/libnetfs/file-chflags.c
+++ b/libnetfs/file-chflags.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_chflags (struct protid *user,
return EOPNOTSUPP;
mutex_lock (&user->po->np->lock);
- err = netfs_attempt_chflags (user->credential, user->po->np, flags);
+ err = netfs_attempt_chflags (user->user, user->po->np, flags);
mutex_unlock (&user->po->np->lock);
return err;
}