summaryrefslogtreecommitdiffstats
path: root/mdoc_strings.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdoc_strings.c')
-rw-r--r--mdoc_strings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc_strings.c b/mdoc_strings.c
index 5ac30111..1962a6ca 100644
--- a/mdoc_strings.c
+++ b/mdoc_strings.c
@@ -131,7 +131,7 @@ mdoc_atotime(const char *p)
struct tm tm;
char *pp;
- bzero(&tm, sizeof(struct tm));
+ memset(&tm, 0, sizeof(struct tm));
if (0 == strcmp(p, "$" "Mdocdate$"))
return(time(NULL));