Replace bzero with memset
authorKen Raeburn <raeburn@mit.edu>
Wed, 28 Nov 1990 08:38:56 +0000 (08:38 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 28 Nov 1990 08:38:56 +0000 (08:38 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1503 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/ccache/stdio/scc_destry.c

index be2936681d8d1da4e4d6045132f28fb35a4a772d..6ddaa257e1135cd03c11881769660c11187807c0 100644 (file)
@@ -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);