aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toys/lsb/seq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/lsb/seq.c b/toys/lsb/seq.c
index fccccd8f..beeaed3f 100644
--- a/toys/lsb/seq.c
+++ b/toys/lsb/seq.c
@@ -115,7 +115,7 @@ void seq_main(void)
ss = flush_toybuf(itoa(ss, ii));
else if (inc<0) for (; ii>=len; ii += inc)
ss = flush_toybuf(itoa(ss, ii));
- if (ss != toybuf) write(1, toybuf, ss-toybuf);
+ if (ss != toybuf) xwrite(1, toybuf, ss-toybuf);
return;
}