Report file name in detailed cache creation error
authorKen Raeburn <raeburn@mit.edu>
Sun, 8 Jun 2008 05:22:25 +0000 (05:22 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sun, 8 Jun 2008 05:22:25 +0000 (05:22 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20371 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/rcache/rc_io.c

index b76a8dd0c2d5a48aed6717fac6ad69a7efeed90f..94e0e542a55d4c6217d7563e1385f1e0e2d034c3 100644 (file)
@@ -130,8 +130,8 @@ krb5_rc_io_creat(krb5_context context, krb5_rc_iostuff *d, char **fn)
        case EEXIST:
            retval = KRB5_RC_IO_PERM;
            krb5_set_error_message(context, retval,
-                                  "Cannot create replay cache: %s",
-                                  strerror(errno));
+                                  "Cannot create replay cache file %s: %s",
+                                  d->fn, strerror(errno));
            do_not_unlink = 1;
            goto cleanup;