From a8177b6bfb5a648f3233cbcf9b6dc8e66d270307 Mon Sep 17 00:00:00 2001 From: Don Lipari <lipari1@llnl.gov> Date: Fri, 1 Apr 2011 22:44:20 +0000 Subject: [PATCH] Fixed bug in xcgroup.c's xcgroup_ns_find_by_pid() --- src/common/xcgroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/xcgroup.c b/src/common/xcgroup.c index aac83fc30e1..f94831bfd40 100644 --- a/src/common/xcgroup.c +++ b/src/common/xcgroup.c @@ -307,7 +307,7 @@ int xcgroup_ns_find_by_pid(xcgroup_ns_t* cgns, xcgroup_t* cg, pid_t pid) *e='\0'; /* get subsystems entry */ subsys = index(p, ':'); - p=e; + p = e + 1; if (subsys == NULL) continue; subsys++; -- GitLab