summaryrefslogtreecommitdiff
path: root/term
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-12-05 02:18:49 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-12-05 02:18:49 +0000
commit0a871a8810374492f0cd7de759e01d419ded04e7 (patch)
treef0ff56159fb540fa997128c30943d93a6b59a62f /term
parent644ffad6a8d92b48b5092566d26cc2d6de667c8c (diff)
(trivfs_S_io_write): Provide first arg cred in call to pty_io_write.
(trivfs_S_io_read): Provide first arg cred in call to pty_io_read.
Diffstat (limited to 'term')
-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);