summaryrefslogtreecommitdiff
path: root/libtrivfs/file-chauthor.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-05-24 20:24:57 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-05-24 20:24:57 +0000
commit0af2192f55365768503cfe73ae031d39079dd612 (patch)
treee1ec6d9d00146d4fdcbe0e3d16c0bfdb82b31068 /libtrivfs/file-chauthor.c
parentf7ba5d2f865cc79dd99637b36a420e4f99aae4f0 (diff)
Formerly file-chauthor.c.~3~
Diffstat (limited to 'libtrivfs/file-chauthor.c')
-rw-r--r--libtrivfs/file-chauthor.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libtrivfs/file-chauthor.c b/libtrivfs/file-chauthor.c
index eedfa8c5..4ac8ca13 100644
--- a/libtrivfs/file-chauthor.c
+++ b/libtrivfs/file-chauthor.c
@@ -16,11 +16,12 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "priv.h"
+#include "fs_S.h"
error_t
-trivfs_S_file_chauthor (struct protid *cred,
- uid_t auth)
+trivfs_S_file_chauthor (struct trivfs_protid *cred,
+ uid_t auth)
{
- return cred ? file_chauthor (cred->realnode, uid, gid) : EOPNOTSUPP;
+ return cred ? file_chauthor (cred->realnode, auth) : EOPNOTSUPP;
}