From f794b5cf073b542ce4d8f856df33e5c7f0a5bc39 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sun, 24 Mar 2013 01:37:24 +0000 Subject: dlerror() should not return const char *, as noted by landry ok guenther --- share/man/man3/dlfcn.3 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'share/man/man3') diff --git a/share/man/man3/dlfcn.3 b/share/man/man3/dlfcn.3 index 09a9df9f027..34ae378fcf1 100644 --- a/share/man/man3/dlfcn.3 +++ b/share/man/man3/dlfcn.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: dlfcn.3,v 1.23 2010/02/20 21:08:11 schwarze Exp $ +.\" $OpenBSD: dlfcn.3,v 1.24 2013/03/24 01:37:23 deraadt Exp $ .\" $NetBSD: dlfcn.3,v 1.3 1996/01/09 19:43:34 pk Exp $ .\" .\" Copyright (c) 1995 Paul Kranenburg @@ -29,7 +29,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: February 20 2010 $ +.Dd $Mdocdate: March 24 2013 $ .Dt DLFCN 3 .Os .Sh NAME @@ -52,7 +52,7 @@ .Fn dladdr "const void *addr" "Dl_info *info" .Ft "int" .Fn dlctl "void *handle" "int cmd" "void *data" -.Ft "const char *" +.Ft "char *" .Fn dlerror "void" .Sh DESCRIPTION These functions provide an interface to the run-time linker -- cgit v1.2.3