Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-02-27 18:09:31 +0300
committerChristopher Faylor <me@cgf.cx>2003-02-27 18:09:31 +0300
commit0e7a60fef95e17d33e46d5ce6d0c9b3be18adc99 (patch)
treeed4fa5aa2fcd84f095bf9a6bb33baeb5115de207 /winsup/cygwin/cygthread.cc
parent61a525994aefa4216e04159e14b49f5732abe73f (diff)
* cygthread::detach: Improve error message.
Diffstat (limited to 'winsup/cygwin/cygthread.cc')
-rw-r--r--winsup/cygwin/cygthread.cc2
1 files changed, 1 insertions, 1 deletions
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 */;