diff options
author | 2015-09-20 12:50:58 +0000 | |
---|---|---|
committer | 2015-09-20 12:50:58 +0000 | |
commit | 2e92d9d7eecba01feed33b662f190aaba9c6a7e8 (patch) | |
tree | d9524d00ef55f164517a0dd5dbe3fa5e72b00aae /lib/libc/asr/asr.c | |
parent | Invoke tfp_IOSyncDCache() from tcc_IOSyncDCache() as well, so that invalidate (diff) | |
download | wireguard-openbsd-2e92d9d7eecba01feed33b662f190aaba9c6a7e8.tar.xz wireguard-openbsd-2e92d9d7eecba01feed33b662f190aaba9c6a7e8.zip |
use _PATH_RESCONF directly
Diffstat (limited to 'lib/libc/asr/asr.c')
-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 */ |