diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-05-10 19:23:10 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-05-10 19:23:10 +0000 |
commit | aad62845dfa8ee47839c5130d009eda6c2fccb8a (patch) | |
tree | 935319ca114e79bdbc516a3e76eb363fe18a4bc2 /libtrivfs/file-getcontrol.c | |
parent | 759d537d24f2f90bfe0c259ca7eb284054d467ed (diff) |
Formerly file-getcontrol.c.~3~
Diffstat (limited to 'libtrivfs/file-getcontrol.c')
-rw-r--r-- | libtrivfs/file-getcontrol.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |