summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/db/sysdb.h')
-rw-r--r--src/db/sysdb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h
index 6567e904f..42f845033 100644
--- a/src/db/sysdb.h
+++ b/src/db/sysdb.h
@@ -265,14 +265,14 @@
"cached credentials.\n")
#define SYSDB_VERSION_LOWER_ERROR(ret) do { \
- if (ret == EUCLEAN) { \
+ if (ret == ERR_SYSDB_VERSION_TOO_NEW) { \
ERROR("Lower version of database is expected!\n"); \
SYSDB_VERSION_ERROR_HINT; \
} \
} while(0)
#define SYSDB_VERSION_HIGHER_ERROR(ret) do { \
- if (ret == EMEDIUMTYPE) { \
+ if (ret == ERR_SYSDB_VERSION_TOO_OLD) { \
ERROR("Higher version of database is expected!\n"); \
ERROR("In order to upgrade the database, you must run SSSD.\n"); \
SYSDB_VERSION_ERROR_HINT; \