summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrob <rob@cvs.openbsd.org>2019-05-15 18:18:22 +0000
committerrob <rob@cvs.openbsd.org>2019-05-15 18:18:22 +0000
commitf4457a8c84aa0d16fccb2ae4bec9efc975ebfd90 (patch)
tree9b1befea8ea4a8fee980d976aa553915e4a56ced
parent640cd55534f6a15b75ab2efbe8ebfe4485f076e6 (diff)
Consistently make errno a .Vt
-rw-r--r--lib/libutil/ber_get_string.37
-rw-r--r--lib/libutil/ber_read_elements.37
2 files changed, 8 insertions, 6 deletions
diff --git a/lib/libutil/ber_get_string.3 b/lib/libutil/ber_get_string.3
index e48ac4a0847..286845d20d4 100644
--- a/lib/libutil/ber_get_string.3
+++ b/lib/libutil/ber_get_string.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ber_get_string.3,v 1.1 2019/05/15 03:11:52 rob Exp $
+.\" $OpenBSD: ber_get_string.3,v 1.2 2019/05/15 18:18:21 rob Exp $
.\"
.\" Copyright (c) 2007, 2012 Reyk Floeter <reyk@openbsd.org>
.\"
@@ -88,8 +88,9 @@ Upon successful completion,
and
.Fn ber_scanf_elements
return 0.
-Otherwise \-1 is returned and the global variable errno is
-set to indicate the error.
+Otherwise \-1 is returned and the global variable
+.Vt errno
+is set to indicate the error.
.Pp
.Fn ber_getpos
returns the value of
diff --git a/lib/libutil/ber_read_elements.3 b/lib/libutil/ber_read_elements.3
index 135b51c81c9..cddea087027 100644
--- a/lib/libutil/ber_read_elements.3
+++ b/lib/libutil/ber_read_elements.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ber_read_elements.3,v 1.2 2019/05/15 09:49:32 schwarze Exp $
+.\" $OpenBSD: ber_read_elements.3,v 1.3 2019/05/15 18:18:21 rob Exp $
.\"
.\" Copyright (c) 2007, 2012 Reyk Floeter <reyk@openbsd.org>
.\"
@@ -153,8 +153,9 @@ or \-1 on failure.
.Pp
.Fn ber_write_elements
returns the number of bytes written.
-Otherwise \-1 is returned and the global variable errno is
-set to indicate the error.
+Otherwise \-1 is returned and the global variable
+.Vt errno
+is set to indicate the error.
.Sh SEE ALSO
.Xr read 2 ,
.Xr recv 2 ,