summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorRandolph Chung2000-12-07 03:55:35 +0000
committerRandolph Chung2000-12-07 03:55:35 +0000
commitda7b82981b3c5acf28024a5b61c954b99ddc590f (patch)
tree7e042071b0fbaecaedc292539704eb741fac0f50 /networking
parent02553a2a188d3fe00d2c2efe48109eb3d4aae4b3 (diff)
downloadbusybox-da7b82981b3c5acf28024a5b61c954b99ddc590f.zip
busybox-da7b82981b3c5acf28024a5b61c954b99ddc590f.tar.gz
Write progress meter to stderr instead of stdout
Diffstat (limited to 'networking')
-rw-r--r--networking/wget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/wget.c b/networking/wget.c
index 4a59348..b43bbad 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -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 $
*/