From 0030cba4aa2db3f7a12a2e460957e01d101bbd5d Mon Sep 17 00:00:00 2001 From: Jacques Vidrine Date: Thu, 24 Apr 2003 20:16:21 +0000 Subject: [PATCH] Catch up with nsdispatch.c: nsdispatch(3) is now `hidden' by namespace.h. Sponsored by: DARPA, Network Associates Laboratories --- lib/libc/gen/getusershell.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/libc/gen/getusershell.c b/lib/libc/gen/getusershell.c index 2a218cf5376..62061c1d4ee 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 __FBSDID("$FreeBSD$"); +#include "namespace.h" #include #include @@ -59,6 +60,7 @@ __FBSDID("$FreeBSD$"); #include #include #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);