alsamixergui-0.9.0.1.2-strsignal.patch 402 B

1234567891011121314
  1. diff --git a/src/alsamixer.cxx b/src/alsamixer.cxx
  2. index c7fda51..0d17e21 100644
  3. --- a/src/alsamixer.cxx
  4. +++ b/src/alsamixer.cxx
  5. @@ -2081,7 +2081,7 @@ static void
  6. mixer_signal_handler (int signal)
  7. {
  8. if (signal != SIGSEGV)
  9. - mixer_abort (ERR_SIGNAL, sys_siglist[signal], 0);
  10. + mixer_abort (ERR_SIGNAL, strsignal(signal), 0);
  11. else
  12. {
  13. fprintf (stderr, "\nSegmentation fault.\n");