summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-02-12 04:57:52 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-02-12 04:57:52 +0000
commit7a589c955d22618700decdf8642330b2b1a73f73 (patch)
tree52e23ab0eea260dbff627acaa35f7f0d096ebb53
parent855cfd03c3dd221e9b5d6c7d11538179c0ad8b2c (diff)
It's always a good idea to test those last minute changes to make sure they compile...
-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 545d0fa5c9f..f18ad49dec5 100644
--- a/lib/libc/db/hash/ndbm.c
+++ b/lib/libc/db/hash/ndbm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ndbm.c,v 1.6 1999/02/12 04:46:28 millert Exp $ */
+/* $OpenBSD: ndbm.c,v 1.7 1999/02/12 04:57:51 millert Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -40,7 +40,7 @@
#if 0
static char sccsid[] = "@(#)dbm.c 8.6 (Berkeley) 11/7/95";
#else
-static char rcsid[] = "$OpenBSD: ndbm.c,v 1.6 1999/02/12 04:46:28 millert Exp $";
+static char rcsid[] = "$OpenBSD: ndbm.c,v 1.7 1999/02/12 04:57:51 millert Exp $";
#endif
#endif /* LIBC_SCCS and not lint */
@@ -82,7 +82,7 @@ dbmclose()
{
if (__cur_db != NULL)
- return (dbm_close(__cur_db));
+ return ((__cur_db->close)(__cur_db));
return (-1);
}