diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-02-18 20:05:18 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-02-18 20:05:18 +0000 |
commit | 33b47d6bc20613e5ff119aa27c1419fbf25744d1 (patch) | |
tree | 2138783fb7902102185020be8bc630e29d326aba /libtrivfs/file-getcontrol.c | |
parent | 232ea5be7c3437c9ab910028ba683f8913b694b9 (diff) |
Formerly file-getcontrol.c.~2~
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 aa0b568b..e596a19d 100644 --- a/libtrivfs/file-getcontrol.c +++ b/libtrivfs/file-getcontrol.c @@ -24,7 +24,7 @@ trivfs_S_file_getcontrol (struct protid *cred, { if (!cred) return EOPNOTSUPP; - if (!trivfs_isuid (0, cred)) + if (!cred->isroot) return EPERM; *cntl = ports_get_right (trivfs_control_port); |