* pinfo.cc (_pinfo::set_ctty): Correct stupid typo.

This commit is contained in:
Christopher Faylor 2003-12-11 06:19:36 +00:00
parent 8e10c4311f
commit 992406a5ea
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-12-11 Christopher Faylor <cgf@redhat.com>
* pinfo.cc (_pinfo::set_ctty): Correct stupid typo.
2003-12-11 Christopher Faylor <cgf@redhat.com> 2003-12-11 Christopher Faylor <cgf@redhat.com>
* cygheap.h (cygheap_types): Add HEAP_ARCHETYPES. * cygheap.h (cygheap_types): Add HEAP_ARCHETYPES.

View File

@ -278,7 +278,7 @@ _pinfo::set_ctty (tty_min *tc, int flags, fhandler_tty_slave *arch)
tc->setpgid (pgid); tc->setpgid (pgid);
if (cygheap->ctty != arch) if (cygheap->ctty != arch)
{ {
if (cygheap->ctty) if (!cygheap->ctty)
syscall_printf ("ctty NULL"); syscall_printf ("ctty NULL");
else else
{ {