aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
Diffstat (limited to 'st.c')
-rw-r--r--st.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/st.c b/st.c
index b604f0e..f53378c 100644
--- a/st.c
+++ b/st.c
@@ -560,7 +560,8 @@ static int frclen = 0;
560ssize_t 560ssize_t
561xwrite(int fd, const char *s, size_t len) 561xwrite(int fd, const char *s, size_t len)
562{ 562{
563 size_t aux = len, r; 563 size_t aux = len;
564 ssize_t r;
564 565
565 while (len > 0) { 566 while (len > 0) {
566 r = write(fd, s, len); 567 r = write(fd, s, len);