mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-04 14:10:36 +01:00
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]
This commit is contained in:
parent
abc96ecdfd
commit
ded65c7168
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue