From: John Kohl Date: Thu, 27 Sep 1990 16:56:45 +0000 (+0000) Subject: need to interpret errno X-Git-Tag: krb5-1.0-alpha2~264 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=86b641c6a2ebc994d3ef1fad28db8819162ba049;p=krb5.git need to interpret errno git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1147 dc483132-0cff-0310-8789-dd5450dbe970 --- 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