X-Git-Url: http://git.tuebingen.mpg.de/?p=adu.git;a=blobdiff_plain;f=error.h;h=7c3f4aada972651ec60c9a862b609b12b842a7c6;hp=d97ce507451785591bf6a1052325fcd84959d08a;hb=b542a1e3c66b7b01cd2dc91749c5154e25cbff1e;hpb=0780ea991eb8d05f7d06eb2833e49925506ae17c diff --git a/error.h b/error.h index d97ce50..7c3f4aa 100644 --- a/error.h +++ b/error.h @@ -24,6 +24,7 @@ _ERROR(EMPTY, "file empty") \ _ERROR(MMAP, "mmap error") \ _ERROR(OSL, "osl error") \ + _ERROR(SIGNAL_SIG_ERR, "signal() returned SIG_ERR") \ /** @@ -54,7 +55,6 @@ static inline const char *adu_strerror(int num) { assert(num > 0); if (num == E_OSL) { - fprintf(stderr, "osl error %d\n", osl_errno & 0xff); assert(osl_errno > 0); return osl_strerror((osl_errno)); }