Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys Fix swapped text between PT_GET_PROCESS_STATE a...



details:   https://anonhg.NetBSD.org/src/rev/80af81a447d7
branches:  trunk
changeset: 350172:80af81a447d7
user:      kamil <kamil%NetBSD.org@localhost>
date:      Sat Jan 07 01:32:35 2017 +0000

description:
Fix swapped text between PT_GET_PROCESS_STATE and PT_GET_EVENT_MASK

Sponsored by <The NetBSD Foundation>

diffstat:

 lib/libc/sys/ptrace.2 |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 68412a24eaec -r 80af81a447d7 lib/libc/sys/ptrace.2
--- a/lib/libc/sys/ptrace.2     Sat Jan 07 01:29:18 2017 +0000
+++ b/lib/libc/sys/ptrace.2     Sat Jan 07 01:32:35 2017 +0000
@@ -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 @@
 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 @@
 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



Home | Main Index | Thread Index | Old Index