diff options
author | Okan Demirmen <okan@cvs.openbsd.org> | 2013-12-17 16:10:44 +0000 |
---|---|---|
committer | Okan Demirmen <okan@cvs.openbsd.org> | 2013-12-17 16:10:44 +0000 |
commit | 8710551cd749757455447a9e31fc91b6bf3c2d57 (patch) | |
tree | c961fd2168b1e31286adb8ddf9e6537907e53fa2 /app/cwm/conf.c | |
parent | 6607b5d582214cfff74e2f83b584112c17932cd6 (diff) |
replace with memset
Diffstat (limited to 'app/cwm/conf.c')
-rw-r--r-- | app/cwm/conf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/cwm/conf.c b/app/cwm/conf.c index d65742fd5..b651fc0c7 100644 --- a/app/cwm/conf.c +++ b/app/cwm/conf.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: conf.c,v 1.152 2013/12/16 19:02:17 okan Exp $ + * $OpenBSD: conf.c,v 1.153 2013/12/17 16:10:43 okan Exp $ */ #include <sys/param.h> @@ -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; |