summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authortron <tron@NetBSD.org>2002-06-11 09:58:50 +0000
committertron <tron@NetBSD.org>2002-06-11 09:58:50 +0000
commit97f197cc4e9940732d89ff098fea6236251489d0 (patch)
tree9b24c52118674b63059cf47f499ada2e5bea758c /libexec
parent9b2ae3537c771b618ab34d69a36eef7aa621b7e6 (diff)
Adapt to lastest changes of configuration handling in man(1).
Diffstat (limited to 'libexec')
-rw-r--r--libexec/makewhatis/makewhatis.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/makewhatis/makewhatis.c b/libexec/makewhatis/makewhatis.c
index de65ec55710..b076192b170 100644
--- a/libexec/makewhatis/makewhatis.c
+++ b/libexec/makewhatis/makewhatis.c
@@ -1,4 +1,4 @@
-/* $NetBSD: makewhatis.c,v 1.24 2002/03/10 20:36:10 jdolecek Exp $ */
+/* $NetBSD: makewhatis.c,v 1.25 2002/06/11 09:58:50 tron Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1999 The NetBSD Foundation, Inc.\n\
#endif /* not lint */
#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: makewhatis.c,v 1.24 2002/03/10 20:36:10 jdolecek Exp $");
+__RCSID("$NetBSD: makewhatis.c,v 1.25 2002/06/11 09:58:50 tron Exp $");
#endif /* not lint */
#if HAVE_CONFIG_H
@@ -164,7 +164,7 @@ main(int argc, char *const *argv)
* if man.conf not available.
*/
config(conffile);
- if ((tp = getlist("_whatdb")) == NULL) {
+ if ((tp = getlist("_whatdb", 0)) == NULL) {
manpath = default_manpath;
goto mkwhatis;
}