summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2012-11-21 17:37:01 -0500
committerSimo Sorce <simo@redhat.com>2013-01-04 14:40:54 -0500
commite74d221abc5fc4f8db25cda04998bd2d9a63134e (patch)
tree8b871897cb00ffeab746f0b3fab24ee4b7971e89
parent707d7b29652f12a683dfd18ea84173b4147cdb8b (diff)
downloadsssd-e74d221abc5fc4f8db25cda04998bd2d9a63134e.tar.gz
sssd-e74d221abc5fc4f8db25cda04998bd2d9a63134e.tar.xz
sssd-e74d221abc5fc4f8db25cda04998bd2d9a63134e.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.
-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 c97aba4e..b62dd996 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)