summaryrefslogtreecommitdiffstats
path: root/main.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 /main.c
parent1a72827ba0c676daa9f8e7727da2668825b503a2 (diff)
downloadmandoc-7e736e832ab3af50731a6052e3a35a687fa8b3a4.tar.gz
bzero() -> memset() (noted by Joerg Sonnenberger).
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.c b/main.c
index 2fa117ff..fe6c795f 100644
--- a/main.c
+++ b/main.c
@@ -119,7 +119,7 @@ main(int argc, char *argv[])
struct buf ln, blk;
struct curparse curp;
- bzero(&curp, sizeof(struct curparse));
+ memset(&curp, 0, sizeof(struct curparse));
curp.inttype = INTT_AUTO;
curp.outtype = OUTT_ASCII;
@@ -158,8 +158,8 @@ main(int argc, char *argv[])
argc -= optind;
argv += optind;
- bzero(&ln, sizeof(struct buf));
- bzero(&blk, sizeof(struct buf));
+ memset(&ln, 0, sizeof(struct buf));
+ memset(&blk, 0, sizeof(struct buf));
rc = 1;