From 4a2c8d4050be147fc061967dd734ca4a0c314c94 Mon Sep 17 00:00:00 2001 From: rob <> Date: Wed, 15 May 2019 18:18:21 +0000 Subject: [PATCH] Consistently make errno a .Vt --- src/lib/libutil/ber_get_string.3 | 7 ++++--- src/lib/libutil/ber_read_elements.3 | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/lib/libutil/ber_get_string.3 b/src/lib/libutil/ber_get_string.3 index e48ac4a0..286845d2 100644 --- a/src/lib/libutil/ber_get_string.3 +++ b/src/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 .\" @@ -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/src/lib/libutil/ber_read_elements.3 b/src/lib/libutil/ber_read_elements.3 index 135b51c8..cddea087 100644 --- a/src/lib/libutil/ber_read_elements.3 +++ b/src/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 .\" @@ -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 ,