From fa0b926af9fc374c93a838d93d3f85ad6ea98f54 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 6 Jul 2011 12:39:36 +0000 Subject: [PATCH] * sigproc.cc (wait_sig): Fix debug output. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/sigproc.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 }