summaryrefslogtreecommitdiff
path: root/usr.sbin/ldapd/btest.c
diff options
context:
space:
mode:
authormmcc <mmcc@cvs.openbsd.org>2015-12-24 17:47:58 +0000
committermmcc <mmcc@cvs.openbsd.org>2015-12-24 17:47:58 +0000
commit4786a6bbe424bd70c070ca2f37c67c811ff947c1 (patch)
tree24296cb4c70ca2166e3d8c71bafb72a8bd55d4db /usr.sbin/ldapd/btest.c
parent4d3b347fb84e3d8fb580a216bdfe9066719e9bd0 (diff)
bzero -> memset. No binary change.
Diffstat (limited to 'usr.sbin/ldapd/btest.c')
-rw-r--r--usr.sbin/ldapd/btest.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ldapd/btest.c b/usr.sbin/ldapd/btest.c
index a16d00f7e84..f0dfea93860 100644
--- a/usr.sbin/ldapd/btest.c
+++ b/usr.sbin/ldapd/btest.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: btest.c,v 1.1 2010/05/31 17:36:31 martinh Exp $ */
+/* $OpenBSD: btest.c,v 1.2 2015/12/24 17:47:57 mmcc Exp $ */
/* Simple test program for the btree database. */
/*
@@ -57,9 +57,9 @@ main(int argc, char **argv)
if (bt == NULL)
err(1, filename);
- bzero(&key, sizeof(key));
- bzero(&data, sizeof(data));
- bzero(&maxkey, sizeof(maxkey));
+ memset(&key, 0, sizeof(key));
+ memset(&data, 0, sizeof(data));
+ memset(&maxkey, 0, sizeof(maxkey));
if (strcmp(argv[0], "put") == 0) {
if (argc < 3)