summaryrefslogtreecommitdiffstats
path: root/src/util/profile/prof_file.c
diff options
context:
space:
mode:
authorAlexandra Ellwood <lxs@mit.edu>1999-08-03 19:33:10 +0000
committerAlexandra Ellwood <lxs@mit.edu>1999-08-03 19:33:10 +0000
commit408d03e1fba6ab1bbd4b75cdf200ef64ba7f7ce8 (patch)
tree8eca4f11ded76bee4220f59e1165e5d150140fcb /src/util/profile/prof_file.c
parent9e4694157b9b36d9690046bb7e520bf1fc86eb5e (diff)
downloadkrb5-408d03e1fba6ab1bbd4b75cdf200ef64ba7f7ce8.tar.gz
krb5-408d03e1fba6ab1bbd4b75cdf200ef64ba7f7ce8.tar.xz
krb5-408d03e1fba6ab1bbd4b75cdf200ef64ba7f7ce8.zip
Added line to initialize profile->magic on the Macintosh because all of the other profile library functions check for it and do nothing if it isn't there
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11614 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util/profile/prof_file.c')
-rw-r--r--src/util/profile/prof_file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/profile/prof_file.c b/src/util/profile/prof_file.c
index e8cbbd95d0..53f4ab7061 100644
--- a/src/util/profile/prof_file.c
+++ b/src/util/profile/prof_file.c
@@ -100,6 +100,7 @@ errcode_t profile_open_file(filespec, ret_prof)
prf->magic = PROF_MAGIC_FILE;
#else
prf->filespec = filespec;
+ prf->magic = PROF_MAGIC_FILE;
#endif
retval = profile_update_file(prf);