summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-resolv-conf.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-01-27 16:15:05 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-01-28 18:34:38 -0500
commit77abf3c1159a0326d05dba9cc7475d947fde0aa0 (patch)
treeb2d757640d4594a07c884c79692df280ea34d619 /src/resolve/resolved-resolv-conf.h
parent9e83569d8ff219730912ecac441843b9531b079c (diff)
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);