[CRIU] [PATCH 4/6] pstree: Fix alignment in read_pstree_ids()

Kirill Tkhai ktkhai at virtuozzo.com
Thu May 11 04:50:49 PDT 2017


Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>
---
 criu/pstree.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/criu/pstree.c b/criu/pstree.c
index 067ce787c..735a80db3 100644
--- a/criu/pstree.c
+++ b/criu/pstree.c
@@ -613,7 +613,7 @@ static int read_pstree_ids(pid_t pid, TaskKobjIdsEntry **ids)
 		if ((*ids)->has_##name##_ns_id)							\
 			ret = rst_add_ns_id((*ids)->name##_ns_id, pid, &name##_ns_desc);	\
 		else if (root_item && root_item->ids && root_item->ids->has_##name##_ns_id) {	\
-			(*ids)->has_##name##_ns_id = true;						\
+			(*ids)->has_##name##_ns_id = true;					\
 			(*ids)->name##_ns_id = root_item->ids->name##_ns_id;			\
 		}										\
 	}



More information about the CRIU mailing list