summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMoritz Jodeit <moritz@cvs.openbsd.org>2006-11-14 11:28:06 +0000
committerMoritz Jodeit <moritz@cvs.openbsd.org>2006-11-14 11:28:06 +0000
commit581f79d4edfea1b77d0e4effc29b0c3ba71dfd5e (patch)
treec02d56c0568057e3fc91d0da0477476868f7cff8 /lib
parentf6468b0c751536ba4967786b5fb58c151f465758 (diff)
Adjust ktrace(2) man page to recent changes in struct ktr_header.
OK tedu@
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/ktrace.26
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/sys/ktrace.2 b/lib/libc/sys/ktrace.2
index 303ebf73b50..8c87b22a1ab 100644
--- a/lib/libc/sys/ktrace.2
+++ b/lib/libc/sys/ktrace.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ktrace.2,v 1.16 2006/04/12 08:26:56 jmc Exp $
+.\" $OpenBSD: ktrace.2,v 1.17 2006/11/14 11:28:05 moritz Exp $
.\" $NetBSD: ktrace.2,v 1.2 1995/02/27 12:33:58 cgd Exp $
.\"
.\" Copyright (c) 1993
@@ -101,10 +101,10 @@ followed by a trace point specific structure.
The generic header is:
.Bd -literal
struct ktr_header {
- int ktr_len; /* length of buf */
- short ktr_type; /* trace record type */
+ size_t ktr_len; /* length of buf */
pid_t ktr_pid; /* process id */
char ktr_comm[MAXCOMLEN+1]; /* command name */
+ short ktr_type; /* trace record type */
struct timeval ktr_time; /* timestamp */
caddr_t ktr_buf;
};