projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c619eb
)
use memset rather than bzero
author
John Kohl
<jtkohl@mit.edu>
Thu, 15 Nov 1990 11:24:12 +0000
(11:24 +0000)
committer
John 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
patch
|
blob
|
history
diff --git
a/src/lib/krb5/keytab/file/ktf_util.c
b/src/lib/krb5/keytab/file/ktf_util.c
index 777b0a065c9d1d82ce5f38c438a1c346bff8f257..f0b4f41bb5771b2892aaa3ec7600a341489b9f7b 100644
(file)
--- a/
src/lib/krb5/keytab/file/ktf_util.c
+++ b/
src/lib/krb5/keytab/file/ktf_util.c
@@
-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;
}