From e1e429c89e70fddcad4210375aacd1e339e6d071 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 21 Nov 2012 17:37:01 -0500 Subject: Return ERR_INTERNAL instead of EIO EIO has always been an odd match, but was used as an error to indicate that something had gone wrong internally before we had specific SSSD errors available. Use ERR_INTERNAL instead going forward. --- src/util/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/util.h b/src/util/util.h index 9657826e2..8afb3bc96 100644 --- a/src/util/util.h +++ b/src/util/util.h @@ -263,7 +263,7 @@ errno_t set_debug_file_from_fd(const int fd); if (TRROEstate == TEVENT_REQ_USER_ERROR) { \ return TRROEerr; \ } \ - return EIO; \ + return ERR_INTERNAL; \ } \ } while (0) -- cgit