aboutsummaryrefslogtreecommitdiffhomepage
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index c8e338f..aa6af3f 100644
--- a/io.c
+++ b/io.c
@@ -604,7 +604,7 @@ vbfmt(struct wbuf *out, const char *fmt, va_list ap)
n += bputc(out, ' ');
}
}
- return buf->err ? -1 : n;
+ return n;
}
int