summaryrefslogtreecommitdiffstats
path: root/regress/lib/libc/sys/t_ptrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'regress/lib/libc/sys/t_ptrace.c')
-rw-r--r--regress/lib/libc/sys/t_ptrace.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/regress/lib/libc/sys/t_ptrace.c b/regress/lib/libc/sys/t_ptrace.c
index 78c4a8e47b4..e651dec0a17 100644
--- a/regress/lib/libc/sys/t_ptrace.c
+++ b/regress/lib/libc/sys/t_ptrace.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: t_ptrace.c,v 1.2 2020/01/30 08:22:30 mpi Exp $ */
+/* $OpenBSD: t_ptrace.c,v 1.3 2020/02/02 20:18:17 bluhm Exp $ */
/* $NetBSD: t_ptrace.c,v 1.4 2018/05/14 12:44:40 kamil Exp $ */
/*-
@@ -182,7 +182,7 @@ ATF_TC_BODY(attach_chroot, tc)
ATF_REQUIRE(close(fds_toparent[1]) == 0);
ATF_REQUIRE(close(fds_fromparent[0]) == 0);
- printf("Waiting for chrooting of the child PID %d", child);
+ printf("Waiting for chrooting of the child PID %d\n", child);
rv = read(fds_toparent[0], &msg, sizeof(msg));
ATF_REQUIRE(rv == sizeof(msg));
@@ -207,11 +207,11 @@ ATF_TC_HEAD(traceme_twice, tc)
ATF_TC_BODY(traceme_twice, tc)
{
- printf("Mark the parent process (PID %d) a debugger of PID %d",
+ printf("Mark the parent process (PID %d) a debugger of PID %d\n",
getppid(), getpid());
ATF_REQUIRE(ptrace(PT_TRACE_ME, 0, NULL, 0) == 0);
- printf("Mark the parent process (PID %d) a debugger of PID %d again",
+ printf("Mark the parent process (PID %d) a debugger of PID %d again\n",
getppid(), getpid());
ATF_REQUIRE_ERRNO(EBUSY, ptrace(PT_TRACE_ME, 0, NULL, 0) == -1);
}