From b905ffdba0c7ccaac2c493b3af451e9b1b5045b4 Mon Sep 17 00:00:00 2001 From: Eric Faurot Date: Sun, 20 Sep 2015 12:50:59 +0000 Subject: use _PATH_RESCONF directly --- lib/libc/asr/asr.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/libc/asr') diff --git a/lib/libc/asr/asr.c b/lib/libc/asr/asr.c index 6f767d27560..415e9069b90 100644 --- a/lib/libc/asr/asr.c +++ b/lib/libc/asr/asr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: asr.c,v 1.41 2015/09/14 11:52:49 guenther Exp $ */ +/* $OpenBSD: asr.c,v 1.42 2015/09/20 12:50:58 eric Exp $ */ /* * Copyright (c) 2010-2012 Eric Faurot * @@ -57,7 +57,6 @@ #include "thread_private.h" #endif -#define DEFAULT_CONFFILE _PATH_RESCONF #define DEFAULT_CONF "lookup file\n" #define DEFAULT_LOOKUP "lookup bind file" @@ -111,7 +110,7 @@ _asr_resolver(const char *conf) #endif if (conf == NULL) - conf = DEFAULT_CONFFILE; + conf = _PATH_RESCONF; if (conf[0] == '!') { /* Use the rest of the string as config file */ -- cgit v1.2.3