From 5fb3b42daa6c63be7632d79c20604a5b9f444f40 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 1 Dec 1995 23:03:22 +0000 Subject: (trivfs_S_io_readable): Typo. (trivfs_S_io_read): Typo. --- term/users.c | 4 ++-- 1 file 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; -- cgit v1.2.3