summaryrefslogtreecommitdiffstats
path: root/src/api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/api.c')
-rw-r--r--src/api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api.c b/src/api.c
index a0e1b9b..28c0c3d 100644
--- a/src/api.c
+++ b/src/api.c
@@ -591,7 +591,7 @@ destroyrule:
cgroup_free_rule(newrule);
parsefail:
- ret = ECGROUPPARSEFAIL;
+ ret = ECGRULESPARSEFAIL;
close:
fclose(fp);
@@ -2366,7 +2366,7 @@ int cgroup_reload_cached_rules()
if (ret) {
cgroup_dbg("Error parsing configuration file \"%s\": %d.\n",
CGRULES_CONF_FILE, ret);
- ret = ECGROUPPARSEFAIL;
+ ret = ECGRULESPARSEFAIL;
goto finished;
}