diff options
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 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; } |