diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2015-08-26 10:56:26 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2015-08-26 10:57:09 +0200 |
commit | ded65c71683bf72de814e52e85603e3773255e45 (patch) | |
tree | 3be4c38d0ce0447c002ad42bc243e201e251e312 | |
parent | abc96ecdfd1162bf59048d10ff13cbe11a0c8da7 (diff) | |
download | NetworkManager-ded65c71683bf72de814e52e85603e3773255e45.tar.gz |
test: fix a format-security error
test-dispatcher-envp.c: In function 'test_generic':
test-dispatcher-envp.c:507:3: error: format not a string literal and no format arguments [-Werror=format-security]
-rw-r--r-- | callouts/tests/test-dispatcher-envp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/callouts/tests/test-dispatcher-envp.c b/callouts/tests/test-dispatcher-envp.c index 420f507db5..27f088f69a 100644 --- a/callouts/tests/test-dispatcher-envp.c +++ b/callouts/tests/test-dispatcher-envp.c @@ -504,7 +504,7 @@ test_generic (const char *file, const char *override_vpn_ip_iface) g_assert ((!denv && error_message) || (denv && !error_message)); if (error_message) - g_warning (error_message); + g_warning ("%s", error_message); /* Print out environment for now */ #ifdef DEBUG |