1 diff --git a/lib/events/libdmraid-events-isw.c b/lib/events/libdmraid-events-isw.c
2 index c092762..d5efe22 100644
3 --- a/lib/events/libdmraid-events-isw.c
4 +++ b/lib/events/libdmraid-events-isw.c
5 @@ -824,13 +824,13 @@ static void _log_either(enum log_type log_type,
7 sz = _log_all_devs(log_type, rs, NULL, 0);
9 - syslog(LOG_ERR, msg[0]);
10 + syslog(LOG_ERR, "%s", msg[0]);
14 str = dm_malloc(++sz);
16 - syslog(LOG_ERR, msg[1]);
17 + syslog(LOG_ERR, "%s", msg[1]);