From 1169bc5ad00d280af71015f15c6a8c87245ffc23 Mon Sep 17 00:00:00 2001 From: Andrew Davis Date: Fri, 21 Jul 2023 09:19:55 -0500 Subject: [PATCH] lib: Fix available error message in softirq This message should state that there are no more available Soft IRQs. Signed-off-by: Andrew Davis --- lib/softirq.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/softirq.c b/lib/softirq.c index 4ba745fa..ac481ccc 100644 --- a/lib/softirq.c +++ b/lib/softirq.c @@ -72,8 +72,7 @@ int metal_softirq_allocate(int num) int irq_base; if ((metal_softirq_avail + num) >= metal_softirq_num) { - metal_log(METAL_LOG_ERROR, "No %d available soft irqs.\r\n", - num); + metal_log(METAL_LOG_ERROR, "No more available soft irqs\n"); return -EINVAL; } irq_base = metal_softirq_avail;