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 16cf0498..63e52803 100644
--- a/term/users.c
+++ b/term/users.c
@@ -369,7 +369,7 @@ trivfs_S_io_write (struct trivfs_protid *cred,
return EOPNOTSUPP;
if (cred->pi.class == pty_class)
- return pty_io_write (data, datalen, amt);
+ return pty_io_write (cred, data, datalen, amt);
mutex_lock (&global_lock);
@@ -441,7 +441,7 @@ trivfs_S_io_read (struct trivfs_protid *cred,
return EOPNOTSUPP;
if (cred->pi.class == pty_class)
- return pty_io_read (data, datalen, amount);
+ return pty_io_read (cred, data, datalen, amount);
mutex_lock (&global_lock);