summaryrefslogtreecommitdiffstats
path: root/src/resolve/resolved-resolv-conf.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-01-27 22:15:05 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-01-29 00:34:38 +0100
commit77abf3c1159a0326d05dba9cc7475d947fde0aa0 (patch)
treeb2d757640d4594a07c884c79692df280ea34d619 /src/resolve/resolved-resolv-conf.h
parentMerge pull request #2463 from poettering/machined-tty-fix (diff)
downloadsystemd-77abf3c1159a0326d05dba9cc7475d947fde0aa0.tar.xz
systemd-77abf3c1159a0326d05dba9cc7475d947fde0aa0.zip
resolved: emit full path to file we failed to write
Otherwise it's unclear if it's /etc/resolv.conf or some other file that is meant.
Diffstat (limited to 'src/resolve/resolved-resolv-conf.h')
-rw-r--r--src/resolve/resolved-resolv-conf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resolve/resolved-resolv-conf.h b/src/resolve/resolved-resolv-conf.h
index a3355e994b..7081563965 100644
--- a/src/resolve/resolved-resolv-conf.h
+++ b/src/resolve/resolved-resolv-conf.h
@@ -23,5 +23,7 @@
#include "resolved-manager.h"
+#define PRIVATE_RESOLV_CONF "/run/systemd/resolve/resolv.conf"
+
int manager_read_resolv_conf(Manager *m);
int manager_write_resolv_conf(Manager *m);