summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--service/src/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/src/core.c b/service/src/core.c
index 65156ad..e1dda1e 100644
--- a/service/src/core.c
+++ b/service/src/core.c
@@ -439,7 +439,7 @@ static int sc_distributer_init(struct sc_main * sc)
return RT_ERR;
}
- if (hashmode < 0 || distmode >= LDBC_HASH_MAX)
+ if (hashmode < 0 || hashmode >= LDBC_HASH_MAX)
{
MR_CFGERR_INVALID_FORMAT(sc->local_cfgfile, "service", "hashmode");
return RT_ERR;