diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 11bf7a315..4065d80c8 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2003-02-27 Christopher Faylor + + * cygthread::detach: Improve error message. + 2003-02-26 Pierre Humblet * sec_helper.cc (get_sids_info): debug_print owner_sid and group_sid. diff --git a/winsup/cygwin/cygthread.cc b/winsup/cygwin/cygthread.cc index 9f86a978f..af70e4973 100644 --- a/winsup/cygwin/cygthread.cc +++ b/winsup/cygwin/cygthread.cc @@ -288,7 +288,7 @@ cygthread::detach (HANDLE sigwait) w4[1] = *this; res = WaitForSingleObject (sigwait, INFINITE); if (res != WAIT_OBJECT_0) - system_printf ("WFSO sigwait failed, res %u", res); + system_printf ("WFSO sigwait %p failed, res %u, %E", sigwait, res); res = WaitForMultipleObjects (2, w4, FALSE, INFINITE); if (res != WAIT_OBJECT_0) /* nothing */;