From 5e25ddb7d369b6785ec3aaa96cbc0521c22aeb0d Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Mon, 19 May 2008 09:48:17 +0000 Subject: - use STD*_FILENO some more. No object-code changes --- libbb/verror_msg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbb/verror_msg.c') diff --git a/libbb/verror_msg.c b/libbb/verror_msg.c index ca44030b2..5c6df48d4 100644 --- a/libbb/verror_msg.c +++ b/libbb/verror_msg.c @@ -56,7 +56,7 @@ void bb_verror_msg(const char *s, va_list p, const char* strerr) if (logmode & LOGMODE_STDIO) { fflush(stdout); - full_write(2, msg, used + msgeol_len); + full_write(STDERR_FILENO, msg, used + msgeol_len); } if (logmode & LOGMODE_SYSLOG) { syslog(LOG_ERR, "%s", msg + applet_len); -- cgit v1.2.3