summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-07-27 07:22:34 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2004-07-27 07:22:34 +0200
commitd99901c2ad22cd1496e777d18bd8dbf675236084 (patch)
tree82a14752e8f4671017619f8eb440b6c4bb27a0f2 /vdr.c
parentbee9f130245b6a269f95cf5910066eee7dd58bc7 (diff)
downloadvdr-d99901c2ad22cd1496e777d18bd8dbf675236084.tar.gz
vdr-d99901c2ad22cd1496e777d18bd8dbf675236084.tar.bz2
Fixed checking for the presence of NPTL
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 fc1f9e09..1215fcbb 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.184 2004/06/13 13:52:09 kls Exp $
+ * $Id: vdr.c 1.185 2004/07/27 07:21:22 kls Exp $
*/
#include <getopt.h>
@@ -87,7 +87,7 @@ int main(int argc, char *argv[])
#ifdef _CS_GNU_LIBPTHREAD_VERSION
// Check for NPTL and exit if present - VDR apparently doesn't run well with NPTL:
char LibPthreadVersion[128];
- if (confstr(_CS_GNU_LIBPTHREAD_VERSION, LibPthreadVersion, sizeof(LibPthreadVersion) > 0)) {
+ if (confstr(_CS_GNU_LIBPTHREAD_VERSION, LibPthreadVersion, sizeof(LibPthreadVersion)) > 0) {
if (strstr(LibPthreadVersion, "NPTL")) {
fprintf(stderr, "vdr: please turn off NPTL by setting 'export LD_ASSUME_KERNEL=2.4.1' before starting VDR\n");
return 2;