summaryrefslogtreecommitdiff
path: root/libtrivfs/file-getcontrol.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-06-15 21:23:51 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-06-15 21:23:51 +0000
commitee56a14ab4bb43e35a735279ca6d54a12ad9565a (patch)
tree5e20796507209822bf649cf7ce53d321754460f4 /libtrivfs/file-getcontrol.c
parent36bbd74ce7b1d03b34846bfd76605dcd0afb9c38 (diff)
entered into RCS
Diffstat (limited to 'libtrivfs/file-getcontrol.c')
-rw-r--r--libtrivfs/file-getcontrol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtrivfs/file-getcontrol.c b/libtrivfs/file-getcontrol.c
index 37e90b1a..83e35034 100644
--- a/libtrivfs/file-getcontrol.c
+++ b/libtrivfs/file-getcontrol.c
@@ -28,7 +28,7 @@ trivfs_S_file_getcontrol (struct trivfs_protid *cred,
if (!cred->isroot)
return EPERM;
- *cntl = ports_get_right (cred->cntl);
+ *cntl = ports_get_right (cred->po->cntl);
*cntltype = MACH_MSG_TYPE_MAKE_SEND;
return 0;
}