diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index bcf827310..899282a5a 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2003-12-11 Christopher Faylor + + * pinfo.cc (_pinfo::set_ctty): Correct stupid typo. + 2003-12-11 Christopher Faylor * cygheap.h (cygheap_types): Add HEAP_ARCHETYPES. diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc index f18ced7c1..f1c1c8cff 100644 --- a/winsup/cygwin/pinfo.cc +++ b/winsup/cygwin/pinfo.cc @@ -278,7 +278,7 @@ _pinfo::set_ctty (tty_min *tc, int flags, fhandler_tty_slave *arch) tc->setpgid (pgid); if (cygheap->ctty != arch) { - if (cygheap->ctty) + if (!cygheap->ctty) syscall_printf ("ctty NULL"); else {