summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>2003-04-18 01:00:37 +0000
committernectar <nectar@FreeBSD.org>2003-04-18 01:00:37 +0000
commit381ebbf8d2a309a3bf54462f5632fee415483f00 (patch)
tree3e51c0de35af82faef02535bd7821a1f7b341420 /lib
parent0e096a3dd163c27944c9b093848e512ae4954d04 (diff)
downloadFreeBSD-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')
-rw-r--r--lib/libc/gen/getgrent.c2
-rw-r--r--lib/libc/gen/getpwent.c2
2 files changed, 2 insertions, 2 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 }
};
diff --git a/lib/libc/gen/getpwent.c b/lib/libc/gen/getpwent.c
index 9f4c8a4..15f67df 100644
--- a/lib/libc/gen/getpwent.c
+++ b/lib/libc/gen/getpwent.c
@@ -83,7 +83,7 @@ enum constants {
};
static const ns_src defaultsrc[] = {
- { NSSRC_FILES, NS_SUCCESS },
+ { NSSRC_COMPAT, NS_SUCCESS },
{ NULL, 0 }
};
OpenPOWER on IntegriCloud