summaryrefslogtreecommitdiffstats
path: root/lib/libc/db/hash/ndbm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/db/hash/ndbm.c')
-rw-r--r--lib/libc/db/hash/ndbm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/db/hash/ndbm.c b/lib/libc/db/hash/ndbm.c
index 2b54402..28adce4 100644
--- a/lib/libc/db/hash/ndbm.c
+++ b/lib/libc/db/hash/ndbm.c
@@ -35,7 +35,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)ndbm.c 8.2 (Berkeley) 9/11/93";
+static char sccsid[] = "@(#)ndbm.c 8.4 (Berkeley) 7/21/94";
#endif /* LIBC_SCCS and not lint */
/*
@@ -45,10 +45,10 @@ static char sccsid[] = "@(#)ndbm.c 8.2 (Berkeley) 9/11/93";
#include <sys/param.h>
-#include <ndbm.h>
#include <stdio.h>
#include <string.h>
+#include <ndbm.h>
#include "hash.h"
/*
@@ -67,7 +67,7 @@ dbm_open(file, flags, mode)
info.bsize = 4096;
info.ffactor = 40;
info.nelem = 1;
- info.cachesize = NULL;
+ info.cachesize = 0;
info.hash = NULL;
info.lorder = 0;
(void)strcpy(path, file);
OpenPOWER on IntegriCloud