summaryrefslogtreecommitdiff
path: root/term
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-12-01 23:03:22 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-12-01 23:03:22 +0000
commit5fb3b42daa6c63be7632d79c20604a5b9f444f40 (patch)
tree9369b6599ebbb4fd6a8967e34ea8df88cf0748f8 /term
parentc4e9edac67a64869a73cde5903ec92c96df97c13 (diff)
(trivfs_S_io_readable): Typo.
(trivfs_S_io_read): Typo.
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 8c2a3bf2..a947ed92 100644
--- a/term/users.c
+++ b/term/users.c
@@ -490,7 +490,7 @@ trivfs_S_io_read (struct trivfs_protid *cred,
char c = dequeue (inputq);
if (remote_input_mode)
- *cp++;
+ *cp++ = c;
else
{
/* Unless this is EOF, add it to the response. */
@@ -546,7 +546,7 @@ trivfs_S_io_readable (struct trivfs_protid *cred,
return EBADF;
*amt = qsize (inputq);
if (remote_input_mode && *amt)
- *amt--;
+ --*amt;
mutex_unlock (&global_lock);
return 0;