about summary refs log tree commit diff
path: root/conf.c
diff options
context:
space:
mode:
authorokan <okan>2013-12-17 16:10:43 +0000
committerokan <okan>2013-12-17 16:10:43 +0000
commitda2bea3ffac03b74709fa4d9d3f12582f1912917 (patch)
treefb717ae5bc09931ac19a3e0df31aa242bfa5f59b /conf.c
parent19fc7f666bd8e2d5956a7a3958bf6be4f5fea137 (diff)
downloadcwm-da2bea3ffac03b74709fa4d9d3f12582f1912917.tar.gz
cwm-da2bea3ffac03b74709fa4d9d3f12582f1912917.tar.xz
cwm-da2bea3ffac03b74709fa4d9d3f12582f1912917.zip
replace with memset
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf.c b/conf.c
index 9ac0414..426170f 100644
--- a/conf.c
+++ b/conf.c
@@ -226,7 +226,7 @@ conf_init(struct conf *c)
 {
 	u_int	i;
 
-	bzero(c, sizeof(*c));
+	(void)memset(c, 0, sizeof(*c));
 
 	c->bwidth = CONF_BWIDTH;
 	c->mamount = CONF_MAMOUNT;