summaryrefslogtreecommitdiffstats
path: root/winsup
diff options
context:
space:
mode:
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/cygthread.cc2
2 files changed, 5 insertions, 1 deletions
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 <cgf@redhat.com>
+
+ * cygthread::detach: Improve error message.
+
2003-02-26 Pierre Humblet <pierre.humblet@ieee.org>
* 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 */;