Blame SOURCES/0013-read_config_yy-Drop-extra-argument-from-dlog-call.patch

4a3166
From 385a065550fba6afc9132df07b8ef9da40431c55 Mon Sep 17 00:00:00 2001
4a3166
From: Phil Sutter <phil@nwl.cc>
4a3166
Date: Thu, 24 Mar 2022 19:09:22 +0100
4a3166
Subject: [PATCH] read_config_yy: Drop extra argument from dlog() call
4a3166
4a3166
False priority value was never printed.
4a3166
4a3166
Fixes: dfb88dae65fbd ("conntrackd: change scheduler and priority via configuration file")
4a3166
Signed-off-by: Phil Sutter <phil@nwl.cc>
4a3166
(cherry picked from commit f2fed05adbd05df23a063e0a9f2809399d924c64)
4a3166
---
4a3166
 src/read_config_yy.y | 2 +-
4a3166
 1 file changed, 1 insertion(+), 1 deletion(-)
4a3166
4a3166
diff --git a/src/read_config_yy.y b/src/read_config_yy.y
4a3166
index 4311cd6c9a2f5..6aee67623953b 100644
4a3166
--- a/src/read_config_yy.y
4a3166
+++ b/src/read_config_yy.y
4a3166
@@ -1042,7 +1042,7 @@ scheduler_line : T_PRIO T_NUMBER
4a3166
 {
4a3166
 	conf.sched.prio = $2;
4a3166
 	if (conf.sched.prio < 0 || conf.sched.prio > 99) {
4a3166
-		dlog(LOG_ERR, "`Priority' must be [0, 99]\n", $2);
4a3166
+		dlog(LOG_ERR, "`Priority' must be [0, 99]\n");
4a3166
 		exit(EXIT_FAILURE);
4a3166
 	}
4a3166
 };
4a3166
-- 
4a3166
2.34.1
4a3166