aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2001-04-11 20:11:51 +0000
committerMatt Kraai <kraai@debian.org>2001-04-11 20:11:51 +0000
commitda160c0da5bfd88e6481d55ae62c65ae4520db68 (patch)
treebee709b4437c0488e23e8478e95af9c5a9fc4159
parent90d7f696d651d4ad9caa6ecbdf09498798695c04 (diff)
downloadbusybox-da160c0da5bfd88e6481d55ae62c65ae4520db68.tar.gz
Use putc, and write to stderr as the rest of the progressmeter does.
-rw-r--r--networking/wget.c4
-rw-r--r--wget.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/networking/wget.c b/networking/wget.c
index b58a251a0..1c7c3b545 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -426,7 +426,7 @@ read_response: if (fgets(buf, sizeof(buf), sfp) == NULL)
}
#ifdef BB_FEATURE_WGET_STATUSBAR
if (quiet_flag==FALSE)
- printf("\n");
+ putc('\n', stderr);
#endif
exit(EXIT_SUCCESS);
}
@@ -735,7 +735,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.34 2001/04/11 20:07:27 kraai Exp $
+ * $Id: wget.c,v 1.35 2001/04/11 20:11:51 kraai Exp $
*/
diff --git a/wget.c b/wget.c
index b58a251a0..1c7c3b545 100644
--- a/wget.c
+++ b/wget.c
@@ -426,7 +426,7 @@ read_response: if (fgets(buf, sizeof(buf), sfp) == NULL)
}
#ifdef BB_FEATURE_WGET_STATUSBAR
if (quiet_flag==FALSE)
- printf("\n");
+ putc('\n', stderr);
#endif
exit(EXIT_SUCCESS);
}
@@ -735,7 +735,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.34 2001/04/11 20:07:27 kraai Exp $
+ * $Id: wget.c,v 1.35 2001/04/11 20:11:51 kraai Exp $
*/