diff options
author | Colin Ian King <colin.king@canonical.com> | 2016-08-28 06:51:06 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-09-08 02:50:35 -0400 |
commit | 1d723de7396c1c028a091a37b2211ff6892c7f52 (patch) | |
tree | 36b9a6be1667a3314d4c5b438756cbf28972f4e9 | |
parent | 9472fe7040bba45c6200858cbe40d643cf02bccb (diff) |
selftests/x86: Fix spelling mistake "preseve" -> "preserve"
Trivial fix to spelling mistakes in printf messages.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Andy Lutomirski <luto@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kselftest@vger.kernel.org
Link: http://lkml.kernel.org/r/20160828105106.9763-1-colin.king@canonical.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r-- | tools/testing/selftests/x86/ptrace_syscall.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/x86/ptrace_syscall.c b/tools/testing/selftests/x86/ptrace_syscall.c index 421456784bc6..b037ce9cf116 100644 --- a/tools/testing/selftests/x86/ptrace_syscall.c +++ b/tools/testing/selftests/x86/ptrace_syscall.c | |||
@@ -147,7 +147,7 @@ static void test_sys32_regs(void (*do_syscall)(struct syscall_args32 *)) | |||
147 | if (args.nr != getpid() || | 147 | if (args.nr != getpid() || |
148 | args.arg0 != 10 || args.arg1 != 11 || args.arg2 != 12 || | 148 | args.arg0 != 10 || args.arg1 != 11 || args.arg2 != 12 || |
149 | args.arg3 != 13 || args.arg4 != 14 || args.arg5 != 15) { | 149 | args.arg3 != 13 || args.arg4 != 14 || args.arg5 != 15) { |
150 | printf("[FAIL]\tgetpid() failed to preseve regs\n"); | 150 | printf("[FAIL]\tgetpid() failed to preserve regs\n"); |
151 | nerrs++; | 151 | nerrs++; |
152 | } else { | 152 | } else { |
153 | printf("[OK]\tgetpid() preserves regs\n"); | 153 | printf("[OK]\tgetpid() preserves regs\n"); |
@@ -162,7 +162,7 @@ static void test_sys32_regs(void (*do_syscall)(struct syscall_args32 *)) | |||
162 | if (args.nr != 0 || | 162 | if (args.nr != 0 || |
163 | args.arg0 != getpid() || args.arg1 != SIGUSR1 || args.arg2 != 12 || | 163 | args.arg0 != getpid() || args.arg1 != SIGUSR1 || args.arg2 != 12 || |
164 | args.arg3 != 13 || args.arg4 != 14 || args.arg5 != 15) { | 164 | args.arg3 != 13 || args.arg4 != 14 || args.arg5 != 15) { |
165 | printf("[FAIL]\tkill(getpid(), SIGUSR1) failed to preseve regs\n"); | 165 | printf("[FAIL]\tkill(getpid(), SIGUSR1) failed to preserve regs\n"); |
166 | nerrs++; | 166 | nerrs++; |
167 | } else { | 167 | } else { |
168 | printf("[OK]\tkill(getpid(), SIGUSR1) preserves regs\n"); | 168 | printf("[OK]\tkill(getpid(), SIGUSR1) preserves regs\n"); |