diff options
author | nectar <nectar@FreeBSD.org> | 2003-04-24 19:57:31 +0000 |
---|---|---|
committer | nectar <nectar@FreeBSD.org> | 2003-04-24 19:57:31 +0000 |
commit | 70e12ffd198118ffc58acaf761c79ea36905e29d (patch) | |
tree | fa4f284895f7b5fac89ac91217873a8f78d9d31a /lib | |
parent | 58bf1340a6274abf75fc37247681577a734768d2 (diff) | |
download | FreeBSD-src-70e12ffd198118ffc58acaf761c79ea36905e29d.zip FreeBSD-src-70e12ffd198118ffc58acaf761c79ea36905e29d.tar.gz |
Don't complain about missing NSS methods when built statically. It is
annoying and not very useful.
Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/net/nsdispatch.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/net/nsdispatch.c b/lib/libc/net/nsdispatch.c index 60a3eba..9261077 100644 --- a/lib/libc/net/nsdispatch.c +++ b/lib/libc/net/nsdispatch.c @@ -549,7 +549,9 @@ nss_method_lookup(const char *source, const char *database, return (match->method); } } - nss_log(LOG_DEBUG, "%s, %s, %s, not found", source, database, method); + if (is_dynamic()) + nss_log(LOG_DEBUG, "%s, %s, %s, not found", source, database, + method); *mdata = NULL; return (NULL); } |