mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-23 18:49:48 +02:00
17 lines
490 B
Diff
17 lines
490 B
Diff
Description: Fix FTBFS with -Wformat-security
|
|
Author: Axel Beckert <[email protected]>
|
|
Bug-Debian: https://bugs.debian.org/888792
|
|
Bug-Debian: https://bugs.debian.org/888797
|
|
|
|
--- a/src/lib/report-lib.c
|
|
+++ b/src/lib/report-lib.c
|
|
@@ -47,7 +47,7 @@
|
|
log_level = LOG_CRIT; break;
|
|
}
|
|
#ifdef HAVE_VSYSLOG
|
|
- syslog(log_level, string);
|
|
+ syslog(log_level, "%s", string);
|
|
vsyslog(log_level, text, ap);
|
|
#else
|
|
fprintf(stderr,"%s[%s(%d)]:\n",string,file,line);
|