summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2012-11-21 17:37:01 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-03-04 23:40:31 +0100
commite1e429c89e70fddcad4210375aacd1e339e6d071 (patch)
tree93abb711c2f878a4c8bf8f703981a15ad14a5e67 /src/util
parentab967283b710dfa05d11ee5b30c7ac916486ceec (diff)
downloadsssd-e1e429c89e70fddcad4210375aacd1e339e6d071.tar.gz
sssd-e1e429c89e70fddcad4210375aacd1e339e6d071.tar.xz
sssd-e1e429c89e70fddcad4210375aacd1e339e6d071.zip
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.
Diffstat (limited to 'src/util')
-rw-r--r--src/util/util.h2
1 files changed, 1 insertions, 1 deletions
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)