diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-05-24 20:24:51 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-05-24 20:24:51 +0000 |
commit | c082460cd6a2a183d93d4c3dfee8458a3c2d948e (patch) | |
tree | a6b3b0da56cd9d36831679f0c893dc7e6ae9484c /libtrivfs | |
parent | c02d619321bec71d0e6732ad5e9f6edf1ec36ceb (diff) |
Formerly file-getcontrol.c.~4~
Diffstat (limited to 'libtrivfs')
-rw-r--r-- | libtrivfs/file-getcontrol.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libtrivfs/file-getcontrol.c b/libtrivfs/file-getcontrol.c index f4019944..b23c19dd 100644 --- a/libtrivfs/file-getcontrol.c +++ b/libtrivfs/file-getcontrol.c @@ -16,9 +16,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "priv.h" +#include "fs_S.h" error_t -trivfs_S_file_getcontrol (struct protid *cred, +trivfs_S_file_getcontrol (struct trivfs_protid *cred, mach_port_t *cntl, mach_msg_type_name_t *cntltype) { @@ -28,6 +29,6 @@ trivfs_S_file_getcontrol (struct protid *cred, return EPERM; *cntl = ports_get_right (cred->cntl); - *controltype = MACH_MSG_TYPE_MAKE_SEND; + *cntltype = MACH_MSG_TYPE_MAKE_SEND; return 0; } |