summaryrefslogtreecommitdiff
path: root/networking/wget.c
diff options
context:
space:
mode:
authorEric Andersen2004-03-27 10:02:48 +0000
committerEric Andersen2004-03-27 10:02:48 +0000
commit70060d25d23278f6b636a535edca4a0c4006decd (patch)
tree372a280d63bab86ec9ffddc76ec28b27a7a1b3ee /networking/wget.c
parentedd580a088fe67f33036d3732f66f917b1c0a80b (diff)
downloadbusybox-70060d25d23278f6b636a535edca4a0c4006decd.zip
busybox-70060d25d23278f6b636a535edca4a0c4006decd.tar.gz
s/fileno\(stdin\)/STDIN_FILENO/g
s/fileno\(stdout\)/STDOUT_FILENO/g
Diffstat (limited to 'networking/wget.c')
-rw-r--r--networking/wget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/wget.c b/networking/wget.c
index 619c138..5c94c58 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -794,7 +794,7 @@ progressmeter(int flag)
snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf),
"%02d:%02d ETA", i / 60, i % 60);
}
- write(fileno(stderr), buf, strlen(buf));
+ write(STDERR_FILENO, buf, strlen(buf));
if (flag == -1) {
struct sigaction sa;
@@ -846,7 +846,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.71 2004/03/15 08:28:53 andersen Exp $
+ * $Id: wget.c,v 1.72 2004/03/27 10:02:43 andersen Exp $
*/