summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}