aboutsummaryrefslogtreecommitdiff
path: root/lib/xwrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xwrap.c')
-rw-r--r--lib/xwrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xwrap.c b/lib/xwrap.c
index 5e64007f..bd0cdc4c 100644
--- a/lib/xwrap.c
+++ b/lib/xwrap.c
@@ -160,7 +160,7 @@ void xprintf(char *format, ...)
void xputsl(char *s, int len)
{
xflush(0);
- xwrite(0, s, len);
+ xwrite(1, s, len);
}
// xputs with no newline