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:
Lubomir Rintel 2015-08-26 10:56:26 +02:00
parent abc96ecdfd
commit ded65c7168

View file

@ -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