From 7e736e832ab3af50731a6052e3a35a687fa8b3a4 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.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'man.c') diff --git a/man.c b/man.c index 7120f06e..d8d643c3 100644 --- a/man.c +++ b/man.c @@ -175,7 +175,7 @@ static int man_alloc1(struct man *m) { - bzero(&m->meta, sizeof(struct man_meta)); + memset(&m->meta, 0, sizeof(struct man_meta)); m->flags = 0; m->last = calloc(1, sizeof(struct man_node)); if (NULL == m->last) -- cgit