summaryrefslogtreecommitdiffstatshomepage
path: root/man_action.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-10-27 08:26:11 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-10-27 08:26:11 +0000
commit5a0f8634e4ed2c22078afd5c992a17992c7b970f (patch)
treed658e6550cabb9c79fe68a0bfa735ac7f97a6ca1 /man_action.c
parent71e1452424a16607e6c6f34c9e2ade17e73775a9 (diff)
downloadmandoc-5a0f8634e4ed2c22078afd5c992a17992c7b970f.tar.gz
mandoc-5a0f8634e4ed2c22078afd5c992a17992c7b970f.tar.zst
mandoc-5a0f8634e4ed2c22078afd5c992a17992c7b970f.zip
bzero() -> memset() (noted by Joerg Sonnenberger).
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));