diff options
author | Pavel Šimerda <psimerda@redhat.com> | 2012-12-11 23:06:10 +0100 |
---|---|---|
committer | Pavel Šimerda <psimerda@redhat.com> | 2012-12-11 23:06:10 +0100 |
commit | 83c6ebcee73422aeb13164b0564091e381ba696b (patch) | |
tree | 6ccce470ee21db625a6495b8b98922df12681436 /src/dnsmasq-manager | |
parent | 8a9759af4bfd4438ab89a4c24a1fc767bcd19440 (diff) | |
download | NetworkManager-83c6ebcee73422aeb13164b0564091e381ba696b.tar.gz |
ifnet: avoid -Wformat-security errors
Diffstat (limited to 'src/dnsmasq-manager')
-rw-r--r-- | src/dnsmasq-manager/nm-dnsmasq-manager.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dnsmasq-manager/nm-dnsmasq-manager.c b/src/dnsmasq-manager/nm-dnsmasq-manager.c index d066d8960c..f708f6f6cf 100644 --- a/src/dnsmasq-manager/nm-dnsmasq-manager.c +++ b/src/dnsmasq-manager/nm-dnsmasq-manager.c @@ -301,7 +301,7 @@ create_dm_cmd_line (const char *iface, char *err_msg = g_strdup_printf ("error converting IP4 address 0x%X", ntohl (addr.s_addr)); g_set_error_literal (error, NM_DNSMASQ_MANAGER_ERROR, NM_DNSMASQ_MANAGER_ERROR_NOT_FOUND, err_msg); - nm_log_warn (LOGD_SHARING, err_msg); + nm_log_warn (LOGD_SHARING, "%s", err_msg); g_free (err_msg); goto error; } @@ -317,7 +317,7 @@ create_dm_cmd_line (const char *iface, char *err_msg = g_strdup_printf ("error converting IP4 address 0x%X", ntohl (addr.s_addr)); g_set_error_literal (error, NM_DNSMASQ_MANAGER_ERROR, NM_DNSMASQ_MANAGER_ERROR_NOT_FOUND, err_msg); - nm_log_warn (LOGD_SHARING, err_msg); + nm_log_warn (LOGD_SHARING, "%s", err_msg); g_free (err_msg); goto error; } @@ -331,7 +331,7 @@ create_dm_cmd_line (const char *iface, char *err_msg = g_strdup_printf ("error converting IP4 address 0x%X", ntohl (addr.s_addr)); g_set_error_literal (error, NM_DNSMASQ_MANAGER_ERROR, NM_DNSMASQ_MANAGER_ERROR_NOT_FOUND, err_msg); - nm_log_warn (LOGD_SHARING, err_msg); + nm_log_warn (LOGD_SHARING, "%s", err_msg); g_free (err_msg); goto error; } |