diff options
Diffstat (limited to 'src/lib/krb5/ccache/stdio')
-rw-r--r-- | src/lib/krb5/ccache/stdio/ChangeLog | 3 | ||||
-rw-r--r-- | src/lib/krb5/ccache/stdio/scc_maybe.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/krb5/ccache/stdio/ChangeLog b/src/lib/krb5/ccache/stdio/ChangeLog index 909aa5c22..5fda9a66d 100644 --- a/src/lib/krb5/ccache/stdio/ChangeLog +++ b/src/lib/krb5/ccache/stdio/ChangeLog @@ -1,5 +1,8 @@ Sat Mar 25 14:42:37 1995 Tom Yu (tlyu@dragons-lair) + * scc_maybe.c (krb5_scc_open_file): fixed typo (extra & in + reference to fvno_bytes) + * scc_gennew.c: Ultrix cc (and K&R compilers) doesn't deal with automatic aggregate initialization, so fixed scc_fvno usage. diff --git a/src/lib/krb5/ccache/stdio/scc_maybe.c b/src/lib/krb5/ccache/stdio/scc_maybe.c index 510299a66..f693feec0 100644 --- a/src/lib/krb5/ccache/stdio/scc_maybe.c +++ b/src/lib/krb5/ccache/stdio/scc_maybe.c @@ -156,7 +156,7 @@ krb5_scc_open_file (context, id, mode) } } else { /* verify a valid version number is there */ - if (!fread((char *)&fvno_bytes, sizeof(fvno_bytes), 1, f)) { + if (!fread((char *)fvno_bytes, sizeof(fvno_bytes), 1, f)) { (void) krb5_unlock_file(context, f, data->filename); (void) fclose(f); return KRB5_CCACHE_BADVNO; |