Fix == v != bug

This commit is contained in:
Kurt Zeilenga 2000-04-19 13:35:43 +00:00
parent 01de012e1c
commit 6a4ff3b996

View File

@ -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");
}