From: Kurt Zeilenga Date: Wed, 19 Apr 2000 13:35:43 +0000 (+0000) Subject: Fix == v != bug X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~3097 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6a4ff3b99624eebbcc54e4f1ddd7bddeb705df5b;p=openldap Fix == v != bug --- diff --git a/libraries/liblutil/detach.c b/libraries/liblutil/detach.c index 88ef003ca2..022c2dbd78 100644 --- a/libraries/liblutil/detach.c +++ b/libraries/liblutil/detach.c @@ -72,7 +72,7 @@ lutil_detach( int debug, int do_close ) break; } - if ( (sd = open( "/dev/null", O_RDWR )) != -1 ) { + if ( (sd = open( "/dev/null", O_RDWR )) == -1 ) { perror("/dev/null"); }