Mercurial > hg > dhcpcd
changeset 5368:cffaa4ac8bbc draft
eloop: Guard diagnostic in prior with ELOOP_DEBUG
| author | Roy Marples <roy@marples.name> |
|---|---|
| date | Tue, 16 Jun 2020 17:12:58 +0100 |
| parents | fce20bebb28a |
| children | 978fd1d34b46 |
| files | src/eloop.c |
| diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/eloop.c Tue Jun 16 17:07:10 2020 +0100 +++ b/src/eloop.c Tue Jun 16 17:12:58 2020 +0100 @@ -579,8 +579,10 @@ { if (_eloop_nsig == __arraycount(_eloop_sig)) { - fprintf(stderr, "%s: signal storm, discarding signal %d", +#ifdef ELOOP_DEBUG + fprintf(stderr, "%s: signal storm, discarding signal %d\n", __func__, sig); +#endif return; }
