need to interpret errno
authorJohn Kohl <jtkohl@mit.edu>
Thu, 27 Sep 1990 16:56:45 +0000 (16:56 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Thu, 27 Sep 1990 16:56:45 +0000 (16:56 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1147 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/ccache/file/fcc_gprin.c

index 997f0eda62f6d405346a69a4f0817f22686f8bb3..209dad1576234d6f024cd845c27cede60319b0d4 100644 (file)
@@ -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