29 lines
859 B
Diff
29 lines
859 B
Diff
From c090f7fbafa7a17a807644d92dde736327da23b7 Mon Sep 17 00:00:00 2001
|
|
From: Vitezslav Samel <vitezslav@samel.cz>
|
|
Date: Thu, 5 May 2022 20:48:14 +0200
|
|
Subject: [PATCH] addethentry(): use correct format specifier
|
|
|
|
Fixes warning from gcc-11.2.
|
|
|
|
Conflict: NA
|
|
Reference:https://github.com/iptraf-ng/iptraf-ng/commit/c090f7fbafa7a17a807644d92dde736327da23b7
|
|
|
|
Signed-off-by: Vitezslav Samel <vitezslav@samel.cz>
|
|
---
|
|
src/hostmon.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/hostmon.c b/src/hostmon.c
|
|
index 1214483..ef37f55 100644
|
|
--- a/src/hostmon.c
|
|
+++ b/src/hostmon.c
|
|
@@ -290,7 +290,7 @@ static struct ethtabent *addethentry(struct ethtab *table,
|
|
|
|
table->entcount++;
|
|
|
|
- mvwprintw(table->borderwin, LINES - 3, 1, " %u entries ",
|
|
+ mvwprintw(table->borderwin, LINES - 3, 1, " %lu entries ",
|
|
table->entcount);
|
|
|
|
return ptemp;
|