From c082460cd6a2a183d93d4c3dfee8458a3c2d948e Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 24 May 1994 20:24:51 +0000 Subject: Formerly file-getcontrol.c.~4~ --- libtrivfs/file-getcontrol.c | 5 +++-- 1 file 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; } -- cgit v1.2.3