aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_strings.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdoc_strings.c')
-rw-r--r--mdoc_strings.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_strings.c b/mdoc_strings.c
index 15bf7fea..0d63dac1 100644
--- a/mdoc_strings.c
+++ b/mdoc_strings.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_strings.c,v 1.11 2009/10/26 04:09:46 kristaps Exp $ */
+/* $Id: mdoc_strings.c,v 1.12 2009/10/27 08:26:12 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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));