X-Git-Url: http://git.tuebingen.mpg.de/?p=dss.git;a=blobdiff_plain;f=signal.c;h=2685d0bdd2a723a05504af89c9cdb16567e84dfa;hp=03926a47f23e29e40a3a8bf6dccccd5b460b96c0;hb=ee3cd16153a02196718951bd9c562b6fa2cf15dd;hpb=a0b87ba0529cc6ab075e1d7a11f8b4adc47948eb diff --git a/signal.c b/signal.c index 03926a4..2685d0b 100644 --- a/signal.c +++ b/signal.c @@ -16,6 +16,7 @@ #include #include #include +#include #include "gcc-compat.h" @@ -120,7 +121,6 @@ int install_sighandler(int sig) DSS_DEBUG_LOG("catching signal %d\n", sig); if (signal(sig, &generic_signal_handler) != SIG_ERR) return 1; - make_err_msg("signal %d", sig); return -E_SIGNAL_SIG_ERR; } @@ -147,7 +147,7 @@ int next_signal(void) assert(r < 0); if (err == EAGAIN) return 0; - make_err_msg("failed to read from signal pipe"); + DSS_ERROR_LOG("failed to read from signal pipe\n"); return -ERRNO_TO_DSS_ERROR(err); }