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 /man_action.c | |
parent | 1a72827ba0c676daa9f8e7727da2668825b503a2 (diff) | |
download | mandoc-7e736e832ab3af50731a6052e3a35a687fa8b3a4.tar.gz |
bzero() -> memset() (noted by Joerg Sonnenberger).
Diffstat (limited to 'man_action.c')
-rw-r--r-- | man_action.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man_action.c b/man_action.c index 6e608310..e0e4139e 100644 --- a/man_action.c +++ b/man_action.c @@ -208,7 +208,7 @@ man_atotime(const char *p) struct tm tm; char *pp; - bzero(&tm, sizeof(struct tm)); + memset(&tm, 0, sizeof(struct tm)); if ((pp = strptime(p, "%b %d %Y", &tm)) && 0 == *pp) return(mktime(&tm)); |