summaryrefslogtreecommitdiff
path: root/term/users.c
diff options
context:
space:
mode:
Diffstat (limited to 'term/users.c')
-rw-r--r--term/users.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/term/users.c b/term/users.c
index 2af640fb..1c19664a 100644
--- a/term/users.c
+++ b/term/users.c
@@ -1591,7 +1591,7 @@ trivfs_S_io_mod_owner (struct trivfs_protid *cred,
return EOPNOTSUPP;
if (cred->pi.class == pty_class)
- return pty_io_mod_owner (cred, owner);
+ return pty_io_mod_owner (owner);
mutex_lock (&global_lock);
termflags &= ~NO_OWNER;
@@ -1610,7 +1610,7 @@ trivfs_S_io_get_owner (struct trivfs_protid *cred,
return EOPNOTSUPP;
if (cred->pi.class == pty_class)
- return pty_io_get_owner (cred, owner);
+ return pty_io_get_owner (owner);
mutex_lock (&global_lock);
if (termflags & NO_OWNER)