Module Name: src
Committed By: kamil
Date: Sat Jan 7 01:32:35 UTC 2017
Modified Files:
src/lib/libc/sys: ptrace.2
Log Message:
Fix swapped text between PT_GET_PROCESS_STATE and PT_GET_EVENT_MASK
Sponsored by <The NetBSD Foundation>
To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/lib/libc/sys/ptrace.2
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/sys/ptrace.2
diff -u src/lib/libc/sys/ptrace.2:1.47 src/lib/libc/sys/ptrace.2:1.48
--- src/lib/libc/sys/ptrace.2:1.47 Sat Jan 7 01:29:18 2017
+++ src/lib/libc/sys/ptrace.2 Sat Jan 7 01:32:35 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: ptrace.2,v 1.47 2017/01/07 01:29:18 kamil Exp $
+.\" $NetBSD: ptrace.2,v 1.48 2017/01/07 01:32:35 kamil Exp $
.\"
.\" This file is in the public domain.
.Dd January 7, 2016
@@ -309,7 +309,7 @@ pointed to by
The
.Fa data
argument should be set to
-.Li sizeof(struct ptrace_state) .
+.Li sizeof(struct ptrace_event) .
.It Dv PT_GET_PROCESS_STATE
This request reads the state information associated with the event
that stopped the traced process.
@@ -328,7 +328,7 @@ A pointer to this structure is passed in
The
.Fa data
argument should be set to
-.Li sizeof(struct ptrace_event) .
+.Li sizeof(struct ptrace_state) .
.El
.Pp
Additionally, the following requests exist but are