diff options
author | nectar <nectar@FreeBSD.org> | 2003-04-24 20:16:21 +0000 |
---|---|---|
committer | nectar <nectar@FreeBSD.org> | 2003-04-24 20:16:21 +0000 |
commit | d15e80125318595fdd804ace2f47a363bab6b812 (patch) | |
tree | 1fa6956281bd839a1b067b867701db0dd7036e6d /lib/libc | |
parent | 70e12ffd198118ffc58acaf761c79ea36905e29d (diff) | |
download | FreeBSD-src-d15e80125318595fdd804ace2f47a363bab6b812.zip FreeBSD-src-d15e80125318595fdd804ace2f47a363bab6b812.tar.gz |
Catch up with nsdispatch.c: nsdispatch(3) is now `hidden' by
namespace.h.
Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/gen/getusershell.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/gen/getusershell.c b/lib/libc/gen/getusershell.c index 2a218cf..62061c1 100644 --- a/lib/libc/gen/getusershell.c +++ b/lib/libc/gen/getusershell.c @@ -38,6 +38,7 @@ static char sccsid[] = "@(#)getusershell.c 8.1 (Berkeley) 6/4/93"; #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); +#include "namespace.h" #include <sys/param.h> #include <sys/file.h> @@ -59,6 +60,7 @@ __FBSDID("$FreeBSD$"); #include <rpcsvc/ypclnt.h> #include <rpcsvc/yp_prot.h> #endif +#include "un-namespace.h" /* * Local shells should NOT be added here. They should be added in @@ -259,7 +261,7 @@ initshells() sl_free(sl, 1); sl = sl_init(); - if (nsdispatch(NULL, dtab, NSDB_SHELLS, "initshells", __nsdefaultsrc) + if (_nsdispatch(NULL, dtab, NSDB_SHELLS, "initshells", __nsdefaultsrc) != NS_SUCCESS) { if (sl) sl_free(sl, 1); |