summaryrefslogtreecommitdiffstats
path: root/src/api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/api.c')
-rw-r--r--src/api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api.c b/src/api.c
index 863df33..967a48e 100644
--- a/src/api.c
+++ b/src/api.c
@@ -106,6 +106,7 @@ char *cgroup_strerror_codes[] = {
"Cgroup, rules file does not exist",
"Cgroup mounting failed",
"The config file can not be opened",
+ "Sentinel"
"End of File or iterator",
};
@@ -2496,7 +2497,6 @@ cleanup_path:
char *cgroup_strerror(int code)
{
- assert((code >= ECGROUPNOTCOMPILED) && (code < ECGSENTINEL));
if (code == ECGOTHER) {
return strerror_r(cgroup_get_last_errno(), errtext, MAXLEN);
}