read-only; we only get a shared lock, so no reason to open for
writing for the sake of getting a lock.
ticket: 3218
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18893
dc483132-0cff-0310-8789-
dd5450dbe970
* Open the dumpfile
*/
if (dumpfile) {
- if ((f = fopen(dumpfile, "r+")) == NULL) {
+ if ((f = fopen(dumpfile, "r")) == NULL) {
fprintf(stderr, dfile_err_fmt, programname, dumpfile,
error_message(errno));
exit_status++;