mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-03-11 18:50:36 +01:00
dns: fix undefined reference when netconf is enabled (bgo #618300)
Thanks to Dominique Leuenberger.
This commit is contained in:
parent
e273cefa32
commit
c62cfd2b63
1 changed files with 2 additions and 2 deletions
|
|
@ -213,7 +213,7 @@ run_netconfig (GError **error, gint *stdin_fd)
|
|||
argv[4] = NULL;
|
||||
|
||||
tmp = g_strjoinv (" ", argv);
|
||||
nm_log_debug (LOGD_DNS, "spawning '%s'", tmp);
|
||||
nm_log_dbg (LOGD_DNS, "spawning '%s'", tmp);
|
||||
g_free (tmp);
|
||||
|
||||
if (!g_spawn_async_with_pipes (NULL, argv, NULL, 0, netconfig_child_setup,
|
||||
|
|
@ -230,7 +230,7 @@ write_to_netconfig (gint fd, const char *key, const char *value)
|
|||
int x;
|
||||
|
||||
str = g_strdup_printf ("%s='%s'\n", key, value);
|
||||
nm_log_debug (LOGD_DNS, "writing to netconfig: %s", str);
|
||||
nm_log_dbg (LOGD_DNS, "writing to netconfig: %s", str);
|
||||
x = write (fd, str, strlen (str));
|
||||
g_free (str);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue