summaryrefslogtreecommitdiff
path: root/src/modules-load.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules-load.c')
-rw-r--r--src/modules-load.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules-load.c b/src/modules-load.c
index 3adbd367ad..a1cbd0004d 100644
--- a/src/modules-load.c
+++ b/src/modules-load.c
@@ -32,11 +32,14 @@
#include "util.h"
#include "strv.h"
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wformat-nonliteral"
static void systemd_kmod_log(void *data, int priority, const char *file, int line,
const char *fn, const char *format, va_list args)
{
log_meta(priority, file, line, fn, format, args);
}
+#pragma GCC diagnostic pop
int main(int argc, char *argv[]) {
int r = EXIT_FAILURE;