From 6a4ff3b99624eebbcc54e4f1ddd7bddeb705df5b Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 19 Apr 2000 13:35:43 +0000 Subject: [PATCH] Fix == v != bug --- libraries/liblutil/detach.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); } -- 2.39.5