summaryrefslogtreecommitdiff
path: root/src/kmod-setup.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-02-09 01:24:40 +0100
committerLennart Poettering <lennart@poettering.net>2012-02-09 01:24:40 +0100
commitcdb454f2def68ad08ed46e111dd698747b7adc6e (patch)
treece843bc92ba9bbc15200f9366e6b4113751c20ca /src/kmod-setup.c
parentfa4ab99705fb1484c7b7cda8356594210e245de0 (diff)
kmod: make GCC shut up
Diffstat (limited to 'src/kmod-setup.c')
-rw-r--r--src/kmod-setup.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/kmod-setup.c b/src/kmod-setup.c
index 7042de4a2c..dc3515676f 100644
--- a/src/kmod-setup.c
+++ b/src/kmod-setup.c
@@ -36,12 +36,14 @@ static const char * const kmod_table[] = {
"unix", "/proc/net/unix"
};
+#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 kmod_setup(void) {
unsigned i;