diff options
author | Eric Faurot <eric@cvs.openbsd.org> | 2015-09-20 12:50:59 +0000 |
---|---|---|
committer | Eric Faurot <eric@cvs.openbsd.org> | 2015-09-20 12:50:59 +0000 |
commit | b905ffdba0c7ccaac2c493b3af451e9b1b5045b4 (patch) | |
tree | 8992e6d7ff87763211b347047947a463bd6c93f0 /lib/libc/asr | |
parent | 08992d889c742732065724b2388184313cdde684 (diff) |
use _PATH_RESCONF directly
Diffstat (limited to 'lib/libc/asr')
-rw-r--r-- | lib/libc/asr/asr.c | 5 |
1 files changed, 2 insertions, 3 deletions
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 <eric@openbsd.org> * @@ -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 */ |