diff --git a/[refs] b/[refs] index 03ee767d77db..fe146836f412 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4b1c7840b7d01b14a1a00fa0e61b761d4391ba67 +refs/heads/master: 316eb661f125397d46f16f94e3c81ad3dc4c1233 diff --git a/trunk/kernel/cgroup.c b/trunk/kernel/cgroup.c index 3070164e2036..998ab5957c6a 100644 --- a/trunk/kernel/cgroup.c +++ b/trunk/kernel/cgroup.c @@ -1770,9 +1770,9 @@ int cgroup_path(const struct cgroup *cgrp, char *buf, int buflen) return 0; } - start = buf + buflen; + start = buf + buflen - 1; - *--start = '\0'; + *start = '\0'; for (;;) { int len = dentry->d_name.len;