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 /main.c | |
parent | 1a72827ba0c676daa9f8e7727da2668825b503a2 (diff) | |
download | mandoc-7e736e832ab3af50731a6052e3a35a687fa8b3a4.tar.gz |
bzero() -> memset() (noted by Joerg Sonnenberger).
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; |