Write all messages to stderr.

Messages written to stdout are undesirable when the output of an
application needs to be passed through a pipe.
This commit is contained in:
Jef Driesen 2009-11-05 12:36:28 +00:00
parent b59532fffb
commit 36f9fd614e

View File

@ -67,7 +67,7 @@ int message (const char* fmt, ...)
}
va_start (ap, fmt);
int rc = vfprintf (stdout, fmt, ap);
int rc = vfprintf (stderr, fmt, ap);
va_end (ap);
return rc;