2020-02-26 07:58:41

by Pengfei Xu

[permalink] [raw]
Subject: [Linux] [PATCH] selftests/x86: fix trailing whitespace in test_vsyscall.c

There is an trailing whitespace mistake in test_vsyscall.c.
Fix it.

Signed-off-by: Xu, Pengfei <[email protected]>
---
tools/testing/selftests/x86/test_vsyscall.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/x86/test_vsyscall.c b/tools/testing/selftests/x86/test_vsyscall.c
index a4f4d4cf22c3..e8b4a2ab1964 100644
--- a/tools/testing/selftests/x86/test_vsyscall.c
+++ b/tools/testing/selftests/x86/test_vsyscall.c
@@ -210,7 +210,7 @@ static int check_gtod(const struct timeval *tv_sys1,
}

d1 = tv_diff(tv_other, tv_sys1);
- d2 = tv_diff(tv_sys2, tv_other);
+ d2 = tv_diff(tv_sys2, tv_other);
printf("\t%s time offsets: %lf %lf\n", which, d1, d2);

if (d1 < 0 || d2 < 0) {
--
2.14.1