summaryrefslogtreecommitdiffstats
path: root/lib/libc/db
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1999-02-12 04:57:51 +0000
committermillert <millert@openbsd.org>1999-02-12 04:57:51 +0000
commit2a99458589a19568974b2333de09a90043b7e84b (patch)
tree46f35d445d629e4a73d66c56a293180aa6a09fb5 /lib/libc/db
parentFleshed out the man page. Much more detail. (diff)
downloadwireguard-openbsd-2a99458589a19568974b2333de09a90043b7e84b.tar.xz
wireguard-openbsd-2a99458589a19568974b2333de09a90043b7e84b.zip
It's always a good idea to test those last minute changes to make sure they compile...
Diffstat (limited to 'lib/libc/db')
-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);
}