aboutsummaryrefslogtreecommitdiff
path: root/contrib/libexecinfo/backtrace.3
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-12-22 22:40:42 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-12-22 22:40:42 +0000
commitd8eb75b41884ff1a9e257ae68ccce691e7be4e3c (patch)
treeaab3ee71e604651dc8731606298f47a19273873d /contrib/libexecinfo/backtrace.3
parent77a561088f5799926367020c3e465d81f158d5c1 (diff)
downloadsrc-d8eb75b41884ff1a9e257ae68ccce691e7be4e3c.tar.gz
src-d8eb75b41884ff1a9e257ae68ccce691e7be4e3c.zip
backtrace.3: Fix prototype of backtrace_symbols_fd_fmt().
While here, fix a typo Submitted by: Sascha Wildner <saw@online.de> Obtained from: DragonflyBSD
Notes
Notes: svn path=/head/; revision=292629
Diffstat (limited to 'contrib/libexecinfo/backtrace.3')
-rw-r--r--contrib/libexecinfo/backtrace.36
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/libexecinfo/backtrace.3 b/contrib/libexecinfo/backtrace.3
index d0dfb9579d90..061a68aa93a7 100644
--- a/contrib/libexecinfo/backtrace.3
+++ b/contrib/libexecinfo/backtrace.3
@@ -28,7 +28,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd November 3, 2015
+.Dd December 12, 2015
.Dt BACKTRACE 3
.Os
.Sh NAME
@@ -47,7 +47,7 @@
.Ft "char **"
.Fn backtrace_symbols_fmt "void * const *addrlist" "size_t len" "const char *fmt"
.Ft int
-.Fn backtrace_symbols_fd_fmt "void * const *addrlist" "size_t len" "const char *fmt" "int fd"
+.Fn backtrace_symbols_fd_fmt "void * const *addrlist" "size_t len" "int fd" "const char *fmt"
.Sh DESCRIPTION
The
.Fn backtrace
@@ -85,7 +85,7 @@ the /proc filesystem is available to determine the executable path.
The difference of the symbol address and the address element printed
using 0x%tx.
.It Dv D
-The difference of the symbol addresss and the address element printed using
+The difference of the symbol address and the address element printed using
+0x%tx if non-zero, or nothing if zero.
.It Dv f
The filename of the symbol as determined by