index
:
xv6-labs-2022/.git
util
origin/HEAD
origin/cow
origin/pgtbl
origin/riscv
origin/syscall
origin/traps
origin/util
Unnamed repository; edit this file 'description' to name the repository.
root
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rw-r--r--
console.c
1
1 files changed, 0 insertions, 1 deletions
diff --git a/console.c b/console.c
index a6dfac2..919b3a2 100644
--- a/
console.c
+++ b/
console.c
@@ -255,7 +255,6 @@ console_read(int minor, char *dst, int n)
break;
}
*dst++ = c;
- cons_putc(c);
--n;
if(c == '\n')
break;