summaryrefslogtreecommitdiff
path: root/share/man/man3
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-03-24 01:37:24 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-03-24 01:37:24 +0000
commitf794b5cf073b542ce4d8f856df33e5c7f0a5bc39 (patch)
treeef904a9dc4e22047560e5dd66c097dfd3f406e65 /share/man/man3
parent168c4fafff75f08f502f50cfc4efed011974bccc (diff)
dlerror() should not return const char *, as noted by landry
ok guenther
Diffstat (limited to 'share/man/man3')
-rw-r--r--share/man/man3/dlfcn.36
1 files changed, 3 insertions, 3 deletions
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