summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormarkj <markj@FreeBSD.org>2014-05-08 03:33:54 +0000
committermarkj <markj@FreeBSD.org>2014-05-08 03:33:54 +0000
commitad9151c24fb1c305bcd9c90dfa9be5888144012b (patch)
tree4f720dfd2178b9f19f408280afdff1ae0ba6a908 /lib
parent528a3801b3ba64d829836d203a64c19c368d9a30 (diff)
downloadFreeBSD-src-ad9151c24fb1c305bcd9c90dfa9be5888144012b.zip
FreeBSD-src-ad9151c24fb1c305bcd9c90dfa9be5888144012b.tar.gz
Fix the rd_event_addr prototype and slightly clarify the use of the "event"
parameter. MFC after: 3 days
Diffstat (limited to 'lib')
-rw-r--r--lib/librtld_db/librtld_db.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/librtld_db/librtld_db.3 b/lib/librtld_db/librtld_db.3
index 0c9a762..4645142 100644
--- a/lib/librtld_db/librtld_db.3
+++ b/lib/librtld_db/librtld_db.3
@@ -48,7 +48,7 @@
.Fc
.Ft rd_err_e
.Fo rd_event_addr
-.Fa "rd_agent_t *rdap, rd_notify_t *notify"
+.Fa "rd_agent_t *rdap, rd_event_e event, rd_notify_t *notify"
.Fc
.Ft rd_err_e
.Fo rd_event_enable
@@ -142,10 +142,10 @@ enables reporting of events.
This function always returns RD_OK.
.Pp
.Fn rd_event_addr
-returns the event address in the
+returns the event address corresponding to the
.Ft event
parameter.
-At the moment we only report RD_NOTIFY_BPT events.
+At the moment we only report events of type RD_NOTIFY_BPT.
.Pp
.Fn rd_event_getmsg
returns the message associated with the latest event.
OpenPOWER on IntegriCloud