Module Name: src
Committed By: wiz
Date: Sun Mar 20 20:09:49 UTC 2016
Modified Files:
src/lib/libc/sys: ktrace.2
Log Message:
Sort errors. Improve markup.
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/lib/libc/sys/ktrace.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/ktrace.2
diff -u src/lib/libc/sys/ktrace.2:1.20 src/lib/libc/sys/ktrace.2:1.21
--- src/lib/libc/sys/ktrace.2:1.20 Sat Mar 19 17:15:13 2016
+++ src/lib/libc/sys/ktrace.2 Sun Mar 20 20:09:49 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: ktrace.2,v 1.20 2016/03/19 17:15:13 dholland Exp $
+.\" $NetBSD: ktrace.2,v 1.21 2016/03/20 20:09:49 wiz Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@@ -139,7 +139,7 @@ bytes of a
record of version
.Nm ktr_version .
The type specific records are defined in the
-.Pa \*[Lt]sys/ktrace.h\*[Gt]
+.Aq Pa sys/ktrace.h
include file.
.Sh RETURN VALUES
On successful completion a value of 0 is returned.
@@ -150,10 +150,14 @@ is set to show the error.
.Fn ktrace
will fail if:
.Bl -tag -width ENAMETOOLONGAA
-.It Bq Er ENOTDIR
-A component of the path prefix is not a directory.
+.It Bq Er EACCES
+Search permission is denied for a component of the path prefix.
.It Bq Er EINVAL
The pathname contains a character with the high-order bit set.
+.It Bq Er EIO
+An I/O error occurred while reading from or writing to the file system.
+.It Bq Er ELOOP
+Too many symbolic links were encountered in translating the pathname.
.It Bq Er ENAMETOOLONG
A component of a pathname exceeded
.Brq Dv NAME_MAX
@@ -163,12 +167,8 @@ or an entire path name exceeded
characters.
.It Bq Er ENOENT
The named tracefile does not exist.
-.It Bq Er EACCES
-Search permission is denied for a component of the path prefix.
-.It Bq Er ELOOP
-Too many symbolic links were encountered in translating the pathname.
-.It Bq Er EIO
-An I/O error occurred while reading from or writing to the file system.
+.It Bq Er ENOTDIR
+A component of the path prefix is not a directory.
.El
.Sh SEE ALSO
.Xr kdump 1 ,