aboutsummaryrefslogtreecommitdiff
path: root/src/lib/krb5/ccache/file/fcc_destry.c
diff options
context:
space:
mode:
authorJohn Kohl <jtkohl@mit.edu>1990-11-08 17:19:52 +0000
committerJohn Kohl <jtkohl@mit.edu>1990-11-08 17:19:52 +0000
commit23d6ff5d4dcae9f4f5ef1597b8009d0a157d60d7 (patch)
tree431429eca51e5ccf0fa2fcff87f679c1e528b7f7 /src/lib/krb5/ccache/file/fcc_destry.c
parentbd7c25d1bfd093b7b8dd7f4df88f572b513b4a83 (diff)
downloadkrb5-23d6ff5d4dcae9f4f5ef1597b8009d0a157d60d7.zip
krb5-23d6ff5d4dcae9f4f5ef1597b8009d0a157d60d7.tar.gz
krb5-23d6ff5d4dcae9f4f5ef1597b8009d0a157d60d7.tar.bz2
change bzero to memset
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1441 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/ccache/file/fcc_destry.c')
-rw-r--r--src/lib/krb5/ccache/file/fcc_destry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/krb5/ccache/file/fcc_destry.c b/src/lib/krb5/ccache/file/fcc_destry.c
index e4c0d46..5da2436 100644
--- a/src/lib/krb5/ccache/file/fcc_destry.c
+++ b/src/lib/krb5/ccache/file/fcc_destry.c
@@ -65,7 +65,7 @@ krb5_error_code krb5_fcc_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 (write(((krb5_fcc_data *) id->data)->fd, zeros, BUFSIZ) < 0) {
ret = krb5_fcc_interpret(errno);