[CRIU] [PATCH] Fix typo

Tycho Andersen tycho.andersen at canonical.com
Tue Jun 24 14:28:23 PDT 2014


Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>
---
 proc_parse.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proc_parse.c b/proc_parse.c
index c6076d7..9e48e23 100644
--- a/proc_parse.c
+++ b/proc_parse.c
@@ -1522,7 +1522,7 @@ int parse_task_cgroup(int pid, struct list_head *retl, unsigned int *n)
 
 		ncc->name = xstrdup(name);
 		ncc->path = xstrdup(path);
-		if (!ncc->name || !ncc->name) {
+		if (!ncc->name || !ncc->path) {
 			xfree(ncc->name);
 			xfree(ncc->path);
 			xfree(ncc);
-- 
1.9.1



More information about the CRIU mailing list