fix hanging alpine tests
@@ -3557,7 +3557,7 @@ __stdio_write(struct MUSL_IO_FILE *stream, const unsigned char *buf, size_t len)
}
}
- if (dothis == 1) doWrite(fileno((FILE *)stream), initialTime, (rc != -1),
+ if (dothis == 1) doWrite(stream->fd, initialTime, (rc != -1),
iov, rc, "__stdio_write", IOV, iovcnt);
return rc;
}
