* 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.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user