summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Leblond <eric@regit.org>2017-07-02 01:20:48 +0200
committerEric Leblond <eric@regit.org>2017-07-02 01:20:48 +0200
commit6155e8ad65e9db172ef56baffed498080891296c (patch)
treef854d94040c21ec5707d59e3dd35b5d158a5089a /src
parent74fd70539034936038faf6603bb1693d42553e72 (diff)
ulogd: fix crash when plugin version are incorrect
Format string in error message had more arguments than given and it was resulting in a crash at start.
Diffstat (limited to 'src')
-rw-r--r--src/ulogd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ulogd.c b/src/ulogd.c
index 919a317..b85d0ee 100644
--- a/src/ulogd.c
+++ b/src/ulogd.c
@@ -392,6 +392,7 @@ void ulogd_register_plugin(struct ulogd_plugin *me)
if (strcmp(me->version, VERSION)) {
ulogd_log(ULOGD_NOTICE,
"plugin `%s' has incompatible version %s\n",
+ me->name,
me->version);
return;
}