* sigproc.cc (wait_sig): Fix debug output.

This commit is contained in:
Corinna Vinschen 2011-07-06 12:39:36 +00:00
parent eb559bb04a
commit fa0b926af9
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2011-07-06 Corinna Vinschen <corinna@vinschen.de>
* sigproc.cc (wait_sig): Fix debug output.
2011-07-05 Corinna Vinschen <corinna@vinschen.de>
* fhandler_console.cc (fhandler_console::input_tcsetattr): Make

View File

@ -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
}