diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-27 08:26:11 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-27 08:26:11 +0000 |
commit | 5a0f8634e4ed2c22078afd5c992a17992c7b970f (patch) | |
tree | d658e6550cabb9c79fe68a0bfa735ac7f97a6ca1 /mdoc_strings.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 'mdoc_strings.c')
-rw-r--r-- | mdoc_strings.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_strings.c b/mdoc_strings.c index 15bf7fea..0d63dac1 100644 --- a/mdoc_strings.c +++ b/mdoc_strings.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_strings.c,v 1.11 2009/10/26 04:09:46 kristaps Exp $ */ +/* $Id: mdoc_strings.c,v 1.12 2009/10/27 08:26:12 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se> * @@ -131,7 +131,7 @@ mdoc_atotime(const char *p) struct tm tm; char *pp; - bzero(&tm, sizeof(struct tm)); + memset(&tm, 0, sizeof(struct tm)); if (0 == strcmp(p, "$" "Mdocdate$")) return(time(NULL)); |