diff options
author | Christopher Faylor <me@cgf.cx> | 2012-12-07 20:59:44 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2012-12-07 20:59:44 +0000 |
commit | ff8ba3cabe838db3f354b1d04f4b30abdf17df2c (patch) | |
tree | a9216ab9cf41a629138614a5582f102afd58cd2c /winsup/cygwin/fhandler_fifo.cc | |
parent | 0d1a50b81ab8e79642bfd17b019f3eb0a17073c6 (diff) | |
download | cygnal-ff8ba3cabe838db3f354b1d04f4b30abdf17df2c.tar.gz cygnal-ff8ba3cabe838db3f354b1d04f4b30abdf17df2c.tar.bz2 cygnal-ff8ba3cabe838db3f354b1d04f4b30abdf17df2c.zip |
* exceptions.cc (sigpacket::process): Reorganize to avoid use of tls before
initialization.
* fhandler_fifo.cc (fhandler_fifo::arm): Avoid improper printing of integer as
a string in debug output.
Diffstat (limited to 'winsup/cygwin/fhandler_fifo.cc')
-rw-r--r-- | winsup/cygwin/fhandler_fifo.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_fifo.cc b/winsup/cygwin/fhandler_fifo.cc index d2b236d5c..8a021bd62 100644 --- a/winsup/cygwin/fhandler_fifo.cc +++ b/winsup/cygwin/fhandler_fifo.cc @@ -68,7 +68,11 @@ fhandler_fifo::arm (HANDLE h) bool res = SetEvent (h); if (!res) - debug_printf ("SetEvent for %s failed, %E", res); +#ifdef DEBUGGING + debug_printf ("SetEvent for %s failed, %E", what); +#else + debug_printf ("SetEvent failed, %E"); +#endif return res; } |