summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2015-09-02 13:47:47 +0000
committerderaadt <deraadt@openbsd.org>2015-09-02 13:47:47 +0000
commit172af5aabca08f148872bb5e3d655512d942977c (patch)
tree6a5064f4f5fabb81904bb14b221a203f8456737e /lib/libc
parentremove a bunch of orphaned prototypes and unused functions; ok miod (diff)
downloadwireguard-openbsd-172af5aabca08f148872bb5e3d655512d942977c.tar.xz
wireguard-openbsd-172af5aabca08f148872bb5e3d655512d942977c.zip
use _PATH_RESCONF
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/asr/asr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/asr/asr.c b/lib/libc/asr/asr.c
index f0aef3dfb1a..c8008681b5e 100644
--- a/lib/libc/asr/asr.c
+++ b/lib/libc/asr/asr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: asr.c,v 1.38 2015/06/04 19:23:17 eric Exp $ */
+/* $OpenBSD: asr.c,v 1.39 2015/09/02 13:47:47 deraadt Exp $ */
/*
* Copyright (c) 2010-2012 Eric Faurot <eric@openbsd.org>
*
@@ -57,7 +57,7 @@
#include "thread_private.h"
#endif
-#define DEFAULT_CONFFILE "/etc/resolv.conf"
+#define DEFAULT_CONFFILE _PATH_RESCONF
#define DEFAULT_CONF "lookup file\n"
#define DEFAULT_LOOKUP "lookup bind file"