selftests/x86: Fix spelling mistake "preseve" -> "preserve"
authorColin Ian King <colin.king@canonical.com>
Sun, 28 Aug 2016 10:51:06 +0000 (11:51 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 8 Sep 2016 06:50:35 +0000 (08:50 +0200)
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>
tools/testing/selftests/x86/ptrace_syscall.c

index 421456784bc64d7c2ad5b14753194bcf89905d1d..b037ce9cf116b1da0ef57601f8f1840e45fcc775 100644 (file)
@@ -147,7 +147,7 @@ static void test_sys32_regs(void (*do_syscall)(struct syscall_args32 *))
        if (args.nr != getpid() ||
            args.arg0 != 10 || args.arg1 != 11 || args.arg2 != 12 ||
            args.arg3 != 13 || args.arg4 != 14 || args.arg5 != 15) {
-               printf("[FAIL]\tgetpid() failed to preseve regs\n");
+               printf("[FAIL]\tgetpid() failed to preserve regs\n");
                nerrs++;
        } else {
                printf("[OK]\tgetpid() preserves regs\n");
@@ -162,7 +162,7 @@ static void test_sys32_regs(void (*do_syscall)(struct syscall_args32 *))
        if (args.nr != 0 ||
            args.arg0 != getpid() || args.arg1 != SIGUSR1 || args.arg2 != 12 ||
            args.arg3 != 13 || args.arg4 != 14 || args.arg5 != 15) {
-               printf("[FAIL]\tkill(getpid(), SIGUSR1) failed to preseve regs\n");
+               printf("[FAIL]\tkill(getpid(), SIGUSR1) failed to preserve regs\n");
                nerrs++;
        } else {
                printf("[OK]\tkill(getpid(), SIGUSR1) preserves regs\n");