From 13ee7130b1f04654b600782b631fad1e50a2395d Mon Sep 17 00:00:00 2001 From: lukem Date: Sun, 19 Oct 1997 04:18:46 +0000 Subject: [PATCH] s/bzero/memset --- usr.bin/login/klogin.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.bin/login/klogin.c b/usr.bin/login/klogin.c index d408e8f23faa..d81a7aca4486 100644 --- a/usr.bin/login/klogin.c +++ b/usr.bin/login/klogin.c @@ -1,4 +1,4 @@ -/* $NetBSD: klogin.c,v 1.11 1997/10/12 14:07:07 mycroft Exp $ */ +/* $NetBSD: klogin.c,v 1.12 1997/10/19 04:18:46 lukem Exp $ */ /*- * Copyright (c) 1990, 1993, 1994 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)klogin.c 8.3 (Berkeley) 4/2/94"; #endif -__RCSID("$NetBSD: klogin.c,v 1.11 1997/10/12 14:07:07 mycroft Exp $"); +__RCSID("$NetBSD: klogin.c,v 1.12 1997/10/19 04:18:46 lukem Exp $"); #endif /* not lint */ #ifdef KERBEROS @@ -242,7 +242,7 @@ kdestroy() if ((fd = open(file, O_RDWR, 0)) < 0) goto out; - bzero(buf, BUFSIZ); + memset(buf, 0, BUFSIZ); for (i = 0; i < statb.st_size; i += BUFSIZ) if (write(fd, buf, BUFSIZ) != BUFSIZ) {