From aad62845dfa8ee47839c5130d009eda6c2fccb8a Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 10 May 1994 19:23:10 +0000 Subject: Formerly file-getcontrol.c.~3~ --- libtrivfs/file-getcontrol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtrivfs/file-getcontrol.c b/libtrivfs/file-getcontrol.c index e596a19d..f4019944 100644 --- a/libtrivfs/file-getcontrol.c +++ b/libtrivfs/file-getcontrol.c @@ -27,7 +27,7 @@ trivfs_S_file_getcontrol (struct protid *cred, if (!cred->isroot) return EPERM; - *cntl = ports_get_right (trivfs_control_port); + *cntl = ports_get_right (cred->cntl); *controltype = MACH_MSG_TYPE_MAKE_SEND; return 0; } -- cgit v1.2.3