1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-31 16:57:10 +00:00

Don't complain about missing NSS methods when built statically. It is

annoying and not very useful.

Sponsored by:	DARPA, Network Associates Laboratories
This commit is contained in:
Jacques Vidrine 2003-04-24 19:57:31 +00:00
parent 696f22f04f
commit 43f9b2521d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=113983

View File

@ -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);
}