diff options
author | Randolph Chung | 2000-12-07 03:55:35 +0000 |
---|---|---|
committer | Randolph Chung | 2000-12-07 03:55:35 +0000 |
commit | da7b82981b3c5acf28024a5b61c954b99ddc590f (patch) | |
tree | 7e042071b0fbaecaedc292539704eb741fac0f50 /wget.c | |
parent | 02553a2a188d3fe00d2c2efe48109eb3d4aae4b3 (diff) | |
download | busybox-da7b82981b3c5acf28024a5b61c954b99ddc590f.zip busybox-da7b82981b3c5acf28024a5b61c954b99ddc590f.tar.gz |
Write progress meter to stderr instead of stdout
Diffstat (limited to 'wget.c')
-rw-r--r-- | wget.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -424,7 +424,7 @@ progressmeter(int flag) snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "%02d:%02d ETA", i / 60, i % 60); } - write(fileno(stdout), buf, strlen(buf)); + write(fileno(stderr), buf, strlen(buf)); if (flag == -1) { struct sigaction sa; @@ -475,7 +475,7 @@ progressmeter(int flag) * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: wget.c,v 1.8 2000/12/07 03:53:47 tausq Exp $ + * $Id: wget.c,v 1.9 2000/12/07 03:55:35 tausq Exp $ */ |