zdtm: fix compilation of netns-dev

Submitted by Andrei Vagin on April 21, 2016, 5:48 p.m.

Details

Message ID 1461260891-10378-1-git-send-email-avagin@openvz.org
State Accepted
Series "zdtm: fix compilation of netns-dev"
Commit f7007cff6c3f7ea8d40f7d32d95d07ac1775ecb0
Headers show

Patch hide | download patch | download mbox

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;
 	}