X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=st.c;h=f53378cd25b4a9a463a8a681b44e8a5cc9619cf5;hb=4a193b96862c8ed7147048592aa4a898b3c05b5b;hp=b604f0e71185d9896ec7f97a00c745a62f532a24;hpb=1d348e98e3745ef98bf9fa36119ead6294c6c80b;p=st.git 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; ssize_t xwrite(int fd, const char *s, size_t len) { - size_t aux = len, r; + size_t aux = len; + ssize_t r; while (len > 0) { r = write(fd, s, len);