[CRIU] [PATCH] zdtm: fix compilation of netns-dev

Andrey Vagin avagin at openvz.org
Thu Apr 21 10:48:11 PDT 2016


From: Andrew Vagin <avagin at virtuozzo.com>

Signed-off-by: Andrew Vagin <avagin at virtuozzo.com>
---
 test/zdtm/static/netns-dev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/zdtm/static/netns-dev.c b/test/zdtm/static/netns-dev.c
index 5a34358..14c77be 100644
--- a/test/zdtm/static/netns-dev.c
+++ b/test/zdtm/static/netns-dev.c
@@ -135,7 +135,7 @@ static int check_and_restore(int opt, FILE *fp, struct test_conf *tc) {
 
 	if (val != tc->ipv4_conf_rand[opt]) {
 		fail("Option \"%s/%s\" changed from %d to %d",
-		     tc->dir, devconfs4[opt], tc->ipv4_conf_rand[opt], val);
+		     tc->dir4, devconfs4[opt], tc->ipv4_conf_rand[opt], val);
 		return -1;
 	}
 
-- 
2.5.5



More information about the CRIU mailing list