diff options
author | 2009-10-27 08:26:11 +0000 | |
---|---|---|
committer | 2009-10-27 08:26:11 +0000 | |
commit | 5a0f8634e4ed2c22078afd5c992a17992c7b970f (patch) | |
tree | d658e6550cabb9c79fe68a0bfa735ac7f97a6ca1 /man.c | |
parent | 71e1452424a16607e6c6f34c9e2ade17e73775a9 (diff) | |
download | mandoc-5a0f8634e4ed2c22078afd5c992a17992c7b970f.tar.gz mandoc-5a0f8634e4ed2c22078afd5c992a17992c7b970f.tar.zst mandoc-5a0f8634e4ed2c22078afd5c992a17992c7b970f.zip |
bzero() -> memset() (noted by Joerg Sonnenberger).
Diffstat (limited to 'man.c')
-rw-r--r-- | man.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: man.c,v 1.43 2009/10/26 07:11:06 kristaps Exp $ */ +/* $Id: man.c,v 1.44 2009/10/27 08:26:12 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -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) |