[CRIU] [PATCH] zdtm/cwd02: typo fix

Andrey Vagin avagin at openvz.org
Mon May 9 14:44:35 PDT 2016


From: Andrew Vagin <avagin at virtuozzo.com>

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

diff --git a/test/zdtm/static/cwd02.c b/test/zdtm/static/cwd02.c
index 1237445..82f2586 100644
--- a/test/zdtm/static/cwd02.c
+++ b/test/zdtm/static/cwd02.c
@@ -73,7 +73,7 @@ int main(int argc, char **argv)
 	}
 
 	if (stf.st_ino != std.st_ino ||
-			stf.st_dev != stf.st_dev) {
+			stf.st_dev != std.st_dev) {
 		fail("cwd and opened fd are not the same\n");
 		goto cleanup;
 	}
-- 
2.7.4



More information about the CRIU mailing list