projects
/
NetworkManager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abc96ec
)
test: fix a format-security error
author
Lubomir Rintel
<lkundrak@v3.sk>
Wed, 26 Aug 2015 08:56:26 +0000
(10:56 +0200)
committer
Lubomir Rintel
<lkundrak@v3.sk>
Wed, 26 Aug 2015 08:57:09 +0000
(10:57 +0200)
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]
callouts/tests/test-dispatcher-envp.c
patch
|
blob
|
history
diff --git
a/callouts/tests/test-dispatcher-envp.c
b/callouts/tests/test-dispatcher-envp.c
index
420f507
..
27f088f
100644
(file)
--- 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