summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--term/users.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/term/users.c b/term/users.c
index 749ba294..16cf0498 100644
--- a/term/users.c
+++ b/term/users.c
@@ -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, amt);
+ return pty_io_read (data, datalen, amount);
mutex_lock (&global_lock);