aboutsummaryrefslogtreecommitdiff
path: root/sys/libn/bufio.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/libn/bufio.c')
-rw-r--r--sys/libn/bufio.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/libn/bufio.c b/sys/libn/bufio.c
index 38714a5..ac8e175 100644
--- a/sys/libn/bufio.c
+++ b/sys/libn/bufio.c
@@ -91,11 +91,6 @@ bufio·ungetbyte(io·Buffer *buf, byte c)
return bufio·err;
}
- if (c != *buf->pos) {
- errorf("unget char does not match");
- return bufio·err;
- }
-
buf->pos--;
return 0;
}