summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-01-15 16:42:37 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2006-01-15 16:42:37 +0100
commit29501203f7b6818258d438d8826ac02c60e08494 (patch)
treeb475981275e4016426cd89bd456b59234d1f45a2 /vdr.c
parenta321947e4713535af2cb1944bb7d6bc1688b6e50 (diff)
downloadvdr-29501203f7b6818258d438d8826ac02c60e08494.tar.gz
vdr-29501203f7b6818258d438d8826ac02c60e08494.tar.bz2
Modified logging so that even on NPTL systems each line in the log file shows the individual thread's pid
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vdr.c b/vdr.c
index 4c5aa7c2..cc4c0a64 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.cadsoft.de/vdr
*
- * $Id: vdr.c 1.239 2006/01/15 16:01:32 kls Exp $
+ * $Id: vdr.c 1.240 2006/01/15 16:23:21 kls Exp $
*/
#include <getopt.h>
@@ -447,7 +447,7 @@ int main(int argc, char *argv[])
// Log file:
if (SysLogLevel > 0)
- openlog("vdr", LOG_PID | LOG_CONS, SysLogTarget);
+ openlog("vdr", LOG_CONS, SysLogTarget); // LOG_PID doesn't work as expected under NPTL
// Check the video directory: