From 0e7a60fef95e17d33e46d5ce6d0c9b3be18adc99 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 27 Feb 2003 15:09:31 +0000 Subject: [PATCH] * cygthread::detach: Improve error message. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/cygthread.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 */;