aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Zammit <damien@zamaudio.com>2024-10-23 00:35:16 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2024-10-26 23:40:18 +0200
commit7ceece0390befdd9e0d8f634cb01d26db73dbb6e (patch)
treecbdab14050a30af166ac8906c889b28594e14dcd
parent978b103a81b13952b447b9907bf4f3426f2e2ca6 (diff)
downloadhurd-7ceece0390befdd9e0d8f634cb01d26db73dbb6e.tar.gz
hurd-7ceece0390befdd9e0d8f634cb01d26db73dbb6e.tar.bz2
hurd-7ceece0390befdd9e0d8f634cb01d26db73dbb6e.zip
irqhelp: Add name of library to log_error messages
Message-ID: <20241023003509.2994709-1-damien@zamaudio.com>
-rw-r--r--libirqhelp/irqhelp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libirqhelp/irqhelp.c b/libirqhelp/irqhelp.c
index 814fd71c..903339a3 100644
--- a/libirqhelp/irqhelp.c
+++ b/libirqhelp/irqhelp.c
@@ -36,7 +36,7 @@
#include <stdbool.h>
#define IRQ_THREAD_PRIORITY 2
-#define log_error(fmt...) fprintf(stderr, ## fmt)
+#define log_error(fmt...) fprintf(stderr, "irqhelp: " fmt)
struct irq {
void (*handler)(void *);