From 86b641c6a2ebc994d3ef1fad28db8819162ba049 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Thu, 27 Sep 1990 16:56:45 +0000 Subject: [PATCH] need to interpret errno git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1147 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/ccache/file/fcc_gprin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/krb5/ccache/file/fcc_gprin.c b/src/lib/krb5/ccache/file/fcc_gprin.c index 997f0eda6..209dad157 100644 --- a/src/lib/krb5/ccache/file/fcc_gprin.c +++ b/src/lib/krb5/ccache/file/fcc_gprin.c @@ -40,7 +40,7 @@ krb5_fcc_get_principal(id, princ) if (OPENCLOSE(id)) { kret = open(((krb5_fcc_data *) id->data)->filename, O_RDONLY, 0); if (kret < 0) - return errno; + return krb5_fcc_interpret(errno); ((krb5_fcc_data *) id->data)->fd = kret; } else -- 2.26.2