diff options
Diffstat (limited to 'src/api.c')
-rw-r--r-- | src/api.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |