summaryrefslogtreecommitdiffstatshomepage
path: root/man_action.c
diff options
context:
space:
mode:
Diffstat (limited to 'man_action.c')
-rw-r--r--man_action.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/man_action.c b/man_action.c
index 8730892f..a43c72ef 100644
--- a/man_action.c
+++ b/man_action.c
@@ -1,4 +1,4 @@
-/* $Id: man_action.c,v 1.20 2009/10/24 05:45:04 kristaps Exp $ */
+/* $Id: man_action.c,v 1.21 2009/10/27 08:26:12 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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));