diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index e8c04a1ad..e822c1994 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2011-07-06 Corinna Vinschen + + * sigproc.cc (wait_sig): Fix debug output. + 2011-07-05 Corinna Vinschen * fhandler_console.cc (fhandler_console::input_tcsetattr): Make diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc index 2f42db200..8e458b9bf 100644 --- a/winsup/cygwin/sigproc.cc +++ b/winsup/cygwin/sigproc.cc @@ -1236,7 +1236,7 @@ wait_sig (VOID *) { #ifdef DEBUGGING2 if (!sigres) - system_printf ("Failed to arm signal %d from pid %d", pack.sig, pack.pid); + system_printf ("Failed to arm signal %d from pid %d", pack.si.si_signo, pack.pid); #endif sigq.add (pack); // FIXME: Shouldn't add this in !sh condition }