zdtm/cwd02: typo fix

Submitted by Andrei Vagin on May 9, 2016, 9:44 p.m.

Details

Message ID 1462830275-27193-1-git-send-email-avagin@openvz.org
State Accepted
Series "zdtm/cwd02: typo fix"
Commit d72a8f907572abf552d01840f2366649330dea73
Headers show

Commit Message

Andrei Vagin May 9, 2016, 9:44 p.m.
From: Andrew Vagin <avagin@virtuozzo.com>

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

Patch hide | download patch | download mbox

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

Comments

Pavel Emelianov May 11, 2016, 12:38 p.m.
Applied