From 7ceece0390befdd9e0d8f634cb01d26db73dbb6e Mon Sep 17 00:00:00 2001 From: Damien Zammit Date: Wed, 23 Oct 2024 00:35:16 +0000 Subject: irqhelp: Add name of library to log_error messages Message-ID: <20241023003509.2994709-1-damien@zamaudio.com> --- libirqhelp/irqhelp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 #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 *); -- cgit v1.2.3