use memset rather than bzero
authorJohn Kohl <jtkohl@mit.edu>
Thu, 15 Nov 1990 11:24:12 +0000 (11:24 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Thu, 15 Nov 1990 11:24:12 +0000 (11:24 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1454 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/keytab/file/ktf_util.c

index 777b0a065c9d1d82ce5f38c438a1c346bff8f257..f0b4f41bb5771b2892aaa3ec7600a341489b9f7b 100644 (file)
@@ -216,7 +216,7 @@ krb5_keytab_entry *entry;
     if (fflush(KTFILEP(id)) == EOF)
        retval = errno;
 
-    bzero(iobuf, sizeof(iobuf));
+    (void) memset(iobuf, 0, sizeof(iobuf));
     setbuf(KTFILEP(id), 0);
     return retval;
 }