summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2006-12-24 15:48:28 +0000
committerphintuka <phintuka>2006-12-24 15:48:28 +0000
commitd5692be02ad2f399936b6e85073b97ce0dad5875 (patch)
tree0a8d8d1756c2fac7f951d1ca89eee93e188b08ad
parentfc930317aeac84a46d963606da6d9b543dd57bca (diff)
downloadxineliboutput-d5692be02ad2f399936b6e85073b97ce0dad5875.tar.gz
xineliboutput-d5692be02ad2f399936b6e85073b97ce0dad5875.tar.bz2
Logging goes to (unbuffered) stderr
-rw-r--r--xine/post.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xine/post.c b/xine/post.c
index 1559be21..97e2f75c 100644
--- a/xine/post.c
+++ b/xine/post.c
@@ -60,7 +60,7 @@
va_start(argp, fmt);
vsnprintf(buf, 512, fmt, argp);
if(!LogToSysLog) {
- printf("[%ld] " LOG_MODULENAME "%s\n", syscall(__NR_gettid), buf);
+ fprintf(stderr,"[%ld] " LOG_MODULENAME "%s\n", syscall(__NR_gettid), buf);
} else {
syslog(level, "[%ld] " LOG_MODULENAME "%s", syscall(__NR_gettid), buf);
}