mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-26 11:28:28 +00:00
selftests/x86: Fix some error messages in ptrace_syscall
I had some obvious typos. Signed-off-by: Andy Lutomirski <luto@kernel.org> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Andy Lutomirski <luto@amacapital.net> Cc: Borislav Petkov <bp@alien8.de> Cc: Brian Gerst <brgerst@gmail.com> Cc: Denys Vlasenko <dvlasenk@redhat.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Robert O'Callahan <robert@ocallahan.org> Cc: Shuah Khan <shuahkh@osg.samsung.com> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/e5e6772d4802986cf7df702e646fa24ac14f2204.1455142412.git.luto@kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
parent
053080a9d1
commit
adcfd23ead
@ -187,7 +187,7 @@ static void test_ptrace_syscall_restart(void)
|
||||
|
||||
printf("[RUN]\tSYSEMU\n");
|
||||
if (ptrace(PTRACE_SYSEMU, chld, 0, 0) != 0)
|
||||
err(1, "PTRACE_SYSCALL");
|
||||
err(1, "PTRACE_SYSEMU");
|
||||
wait_trap(chld);
|
||||
|
||||
if (ptrace(PTRACE_GETREGS, chld, 0, ®s) != 0)
|
||||
@ -218,7 +218,7 @@ static void test_ptrace_syscall_restart(void)
|
||||
err(1, "PTRACE_SETREGS");
|
||||
|
||||
if (ptrace(PTRACE_SYSEMU, chld, 0, 0) != 0)
|
||||
err(1, "PTRACE_SYSCALL");
|
||||
err(1, "PTRACE_SYSEMU");
|
||||
wait_trap(chld);
|
||||
|
||||
if (ptrace(PTRACE_GETREGS, chld, 0, ®s) != 0)
|
||||
@ -250,7 +250,7 @@ static void test_ptrace_syscall_restart(void)
|
||||
err(1, "PTRACE_SETREGS");
|
||||
|
||||
if (ptrace(PTRACE_SYSEMU, chld, 0, 0) != 0)
|
||||
err(1, "PTRACE_SYSCALL");
|
||||
err(1, "PTRACE_SYSEMU");
|
||||
wait_trap(chld);
|
||||
|
||||
if (ptrace(PTRACE_GETREGS, chld, 0, ®s) != 0)
|
||||
|
Loading…
Reference in New Issue
Block a user