aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/gen/getgrent.c
diff options
context:
space:
mode:
authorJacques Vidrine <nectar@FreeBSD.org>2003-04-18 01:00:37 +0000
committerJacques Vidrine <nectar@FreeBSD.org>2003-04-18 01:00:37 +0000
commit1b467db206a7866df3cf8d8fc94bd94c927da63d (patch)
tree3e51c0de35af82faef02535bd7821a1f7b341420 /lib/libc/gen/getgrent.c
parentd3a0bd78a8a04b27703078f03877d0e74775afac (diff)
downloadsrc-1b467db206a7866df3cf8d8fc94bd94c927da63d.tar.gz
src-1b467db206a7866df3cf8d8fc94bd94c927da63d.zip
The default if nsswitch.conf(5) is not present is supposed to be the
hated `compat' source, not `files'. Reported by: Philip Paeps <philip@paeps.cx> Sponsored by: DARPA, Network Associates Laboratories
Notes
Notes: svn path=/head/; revision=113643
Diffstat (limited to 'lib/libc/gen/getgrent.c')
-rw-r--r--lib/libc/gen/getgrent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/getgrent.c b/lib/libc/gen/getgrent.c
index 86ba544440da..b268aaca65fe 100644
--- a/lib/libc/gen/getgrent.c
+++ b/lib/libc/gen/getgrent.c
@@ -68,7 +68,7 @@ enum constants {
};
static const ns_src defaultsrc[] = {
- { NSSRC_FILES, NS_SUCCESS },
+ { NSSRC_COMPAT, NS_SUCCESS },
{ NULL, 0 }
};