From: Ken Raeburn Date: Wed, 28 Nov 1990 08:38:56 +0000 (+0000) Subject: Replace bzero with memset X-Git-Tag: krb5-1.0-alpha3~90 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bbe8fe61241b0909b010e60b76b45a01f5c88d67;p=krb5.git Replace bzero with memset git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1503 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/ccache/stdio/scc_destry.c b/src/lib/krb5/ccache/stdio/scc_destry.c index be2936681..6ddaa257e 100644 --- a/src/lib/krb5/ccache/stdio/scc_destry.c +++ b/src/lib/krb5/ccache/stdio/scc_destry.c @@ -71,7 +71,7 @@ krb5_error_code krb5_scc_destroy(id) /* XXX This may not be legal XXX */ size = (unsigned long) buf.st_size; - bzero(zeros, BUFSIZ); + memset (zeros, 0, BUFSIZ); for (i=0; i < size / BUFSIZ; i++) if (fwrite(data->file, zeros, BUFSIZ) < 0) { ret = krb5_scc_interpret(errno);