archrelease: copy trunk to testing-x86_64
[arch-packages.git] / dmraid / repos / core-x86_64 / dmraid-format-security.patch
blob014bfa83797d31101e6bbeb70427392a95cfc4a9
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);
8 if (!sz) {
9 - syslog(LOG_ERR, msg[0]);
10 + syslog(LOG_ERR, "%s", msg[0]);
11 return;
14 str = dm_malloc(++sz);
15 if (!str) {
16 - syslog(LOG_ERR, msg[1]);
17 + syslog(LOG_ERR, "%s", msg[1]);
18 return;