From 5a0f8634e4ed2c22078afd5c992a17992c7b970f Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Tue, 27 Oct 2009 08:26:11 +0000 Subject: bzero() -> memset() (noted by Joerg Sonnenberger). --- man_action.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'man_action.c') 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 * @@ -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)); -- cgit v1.2.3