From 6155e8ad65e9db172ef56baffed498080891296c Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Sun, 2 Jul 2017 01:20:48 +0200 Subject: 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. --- src/ulogd.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ulogd.c') 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; } -- cgit v1.2.3