Fix build after r326554; reconnect sponge to build again.

This commit is contained in:
Cy Schubert 2017-12-05 20:06:53 +00:00
parent 65547fb33d
commit ca94a1c6ca
2 changed files with 3 additions and 1 deletions

View File

@ -148,6 +148,7 @@ SUBDIR= alias \
soelim \
sort \
split \
sponge \
stat \
stdbuf \
strings \

View File

@ -172,7 +172,8 @@ main(int argc, char* argv[])
bufremain = bufcnt;
while (bufremain > 0) {
whichbuf = (bufremain < maxiovec) ? bufremain : maxiovec;
whichbuf = bufremain < (unsigned long) maxiovec
? bufremain : maxiovec;
bufremain -= whichbuf;
i = writev(fd, iov, whichbuf);