summaryrefslogtreecommitdiffstats
path: root/mdoc.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
commit7e736e832ab3af50731a6052e3a35a687fa8b3a4 (patch)
tree5cf3201ebb4ef4ba706270a36400689b8f57d9ce /mdoc.c
parent1a72827ba0c676daa9f8e7727da2668825b503a2 (diff)
downloadmandoc-7e736e832ab3af50731a6052e3a35a687fa8b3a4.tar.gz
bzero() -> memset() (noted by Joerg Sonnenberger).
Diffstat (limited to 'mdoc.c')
-rw-r--r--mdoc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc.c b/mdoc.c
index 92d5a195..85fda665 100644
--- a/mdoc.c
+++ b/mdoc.c
@@ -198,7 +198,7 @@ static int
mdoc_alloc1(struct mdoc *mdoc)
{
- bzero(&mdoc->meta, sizeof(struct mdoc_meta));
+ memset(&mdoc->meta, 0, sizeof(struct mdoc_meta));
mdoc->flags = 0;
mdoc->lastnamed = mdoc->lastsec = SEC_NONE;
mdoc->last = calloc(1, sizeof(struct mdoc_node));