diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-27 08:26:11 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-27 08:26:11 +0000 |
commit | 7e736e832ab3af50731a6052e3a35a687fa8b3a4 (patch) | |
tree | 5cf3201ebb4ef4ba706270a36400689b8f57d9ce /mdoc_term.c | |
parent | 1a72827ba0c676daa9f8e7727da2668825b503a2 (diff) | |
download | mandoc-7e736e832ab3af50731a6052e3a35a687fa8b3a4.tar.gz |
bzero() -> memset() (noted by Joerg Sonnenberger).
Diffstat (limited to 'mdoc_term.c')
-rw-r--r-- | mdoc_term.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc_term.c b/mdoc_term.c index f39265c5..f503bd4c 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -315,7 +315,7 @@ print_node(DECL_ARGS) bold = p->bold; under = p->under; - bzero(&npair, sizeof(struct termpair)); + memset(&npair, 0, sizeof(struct termpair)); npair.ppair = pair; if (MDOC_TEXT != n->type) { |