From bbe8fe61241b0909b010e60b76b45a01f5c88d67 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Wed, 28 Nov 1990 08:38:56 +0000 Subject: [PATCH] Replace bzero with memset git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1503 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/ccache/stdio/scc_destry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.26.2