diff options
author | nectar <nectar@FreeBSD.org> | 2003-04-18 01:00:37 +0000 |
---|---|---|
committer | nectar <nectar@FreeBSD.org> | 2003-04-18 01:00:37 +0000 |
commit | 381ebbf8d2a309a3bf54462f5632fee415483f00 (patch) | |
tree | 3e51c0de35af82faef02535bd7821a1f7b341420 /lib/libc/gen/getgrent.c | |
parent | 0e096a3dd163c27944c9b093848e512ae4954d04 (diff) | |
download | FreeBSD-src-381ebbf8d2a309a3bf54462f5632fee415483f00.zip FreeBSD-src-381ebbf8d2a309a3bf54462f5632fee415483f00.tar.gz |
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
Diffstat (limited to 'lib/libc/gen/getgrent.c')
-rw-r--r-- | lib/libc/gen/getgrent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/getgrent.c b/lib/libc/gen/getgrent.c index 86ba544..b268aac 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 } }; |