diff options
author | Christopher Faylor <me@cgf.cx> | 2004-12-22 20:10:19 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-12-22 20:10:19 +0300 |
commit | 16bd231ec6cd293020e4538544f3bd6170f4c6d0 (patch) | |
tree | 710ac194db3c11a66f9e0441bcac364261164e8f /winsup/cygwin/cygthread.cc | |
parent | 9bc36097c9a1aaeb2665a5bb28c4b84246970f60 (diff) |
* cygthread.cc (cygthread::stub): Make diagnostic output more informative.
Diffstat (limited to 'winsup/cygwin/cygthread.cc')
-rw-r--r-- | winsup/cygwin/cygthread.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/winsup/cygwin/cygthread.cc b/winsup/cygwin/cygthread.cc index 80fc5e0cc..55f745a8b 100644 --- a/winsup/cygwin/cygthread.cc +++ b/winsup/cygwin/cygthread.cc @@ -54,8 +54,9 @@ cygthread::stub (VOID *arg) while (1) { - if (!info->__name) - system_printf ("erroneous thread activation"); + const char *name = info->__name; + if (!name) + system_printf ("erroneous thread activation, name is non-NULL '%s'", name); else { if (!info->func || exiting) |