summaryrefslogtreecommitdiffstatshomepage
path: root/man.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-10-27 08:26:11 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-10-27 08:26:11 +0000
commit5a0f8634e4ed2c22078afd5c992a17992c7b970f (patch)
treed658e6550cabb9c79fe68a0bfa735ac7f97a6ca1 /man.c
parent71e1452424a16607e6c6f34c9e2ade17e73775a9 (diff)
downloadmandoc-5a0f8634e4ed2c22078afd5c992a17992c7b970f.tar.gz
mandoc-5a0f8634e4ed2c22078afd5c992a17992c7b970f.tar.zst
mandoc-5a0f8634e4ed2c22078afd5c992a17992c7b970f.zip
bzero() -> memset() (noted by Joerg Sonnenberger).
Diffstat (limited to 'man.c')
-rw-r--r--man.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/man.c b/man.c
index 6336f938..3631ef25 100644
--- a/man.c
+++ b/man.c
@@ -1,4 +1,4 @@
-/* $Id: man.c,v 1.43 2009/10/26 07:11:06 kristaps Exp $ */
+/* $Id: man.c,v 1.44 2009/10/27 08:26:12 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -175,7 +175,7 @@ static int
man_alloc1(struct man *m)
{
- bzero(&m->meta, sizeof(struct man_meta));
+ memset(&m->meta, 0, sizeof(struct man_meta));
m->flags = 0;
m->last = calloc(1, sizeof(struct man_node));
if (NULL == m->last)