From 89a75e551c9e342b0350dc8be810baf5fc2bbe47 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Thu, 19 Sep 2002 19:49:52 +0000 Subject: [PATCH] (krb5_set_config_files): return ENXIO instead of ENOENT when "unconfigured" git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11467 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/krb5/context.c b/lib/krb5/context.c index 03a093158..7d149bc05 100644 --- a/lib/krb5/context.c +++ b/lib/krb5/context.c @@ -259,7 +259,7 @@ krb5_set_config_files(krb5_context context, char **filenames) /* with this enabled and if there are no config files, Kerberos is considererd disabled */ if(tmp == NULL) - return ENOENT; + return ENXIO; #endif krb5_config_file_free(context, context->cf); context->cf = tmp;