diff options
author | Phil Sutter <phil@nwl.cc> | 2022-03-24 19:09:22 +0100 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2022-03-28 12:19:44 +0200 |
commit | f2fed05adbd05df23a063e0a9f2809399d924c64 (patch) | |
tree | 1568c0bb98d7db4ad96b1b127345d053838ea5fa /src | |
parent | ff4e57e890a8628208a004587cd7a5ee955bb5fe (diff) |
read_config_yy: Drop extra argument from dlog() call
False priority value was never printed.
Fixes: dfb88dae65fbd ("conntrackd: change scheduler and priority via configuration file")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'src')
-rw-r--r-- | src/read_config_yy.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/read_config_yy.y b/src/read_config_yy.y index 070b349..5815d6a 100644 --- a/src/read_config_yy.y +++ b/src/read_config_yy.y @@ -1052,7 +1052,7 @@ scheduler_line : T_PRIO T_NUMBER { conf.sched.prio = $2; if (conf.sched.prio < 0 || conf.sched.prio > 99) { - dlog(LOG_ERR, "`Priority' must be [0, 99]\n", $2); + dlog(LOG_ERR, "`Priority' must be [0, 99]\n"); exit(EXIT_FAILURE); } }; |