=================================================================== RCS file: /cvs/djgpp/djgpp/tests/libc/posix/unistd/t-isatty.c,v retrieving revision 1.1 retrieving revision 1.2 diff -p -u -r1.1 -r1.2 --- djgpp/tests/libc/posix/unistd/t-isatty.c 2003/03/01 13:17:36 1.1 +++ /cvs/djgpp/djgpp/tests/libc/posix/unistd/t-isatty.c 2003/03/02 23:17:07 1.2 @@ -12,7 +12,7 @@ main (void) assert(!isatty(fileno(stdprn))); /* Check an invalid file descriptor. */ - assert(isatty(99) < 0); + assert(!isatty(99)); puts("PASS"); return(EXIT_SUCCESS);