NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

misc/50407: Correct errors in backtrace.3



>Number:         50407
>Category:       misc
>Synopsis:       Correct errors in backtrace.3
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 05 08:10:00 +0000 2015
>Originator:     Henning Petersen
>Release:        -current
>Organization:
>Environment:
>Description:
Corect errors in man page backtrace.3 .
>How-To-Repeat:

>Fix:
diff -u -p -r1.5 backtrace.3
--- lib/libexecinfo/backtrace.3	22 Aug 2013 17:08:43 -0000	1.5
+++ lib/libexecinfo/backtrace.3	5 Nov 2015 07:53:14 -0000
@@ -46,7 +46,7 @@
 .Ft "char **"
 .Fn backtrace_symbols_fmt "void * const *addrlist" "size_t len" "const char *fmt"
 .Ft int
-.Fn backtrace_symbols_fmt_fd "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
@@ -105,7 +105,7 @@ with a format argument of
 The
 .Fn backtrace_symbols_fd
 and
-.Fn backtrace_symbols_fmt_fd
+.Fn backtrace_symbols_fd_fmt
 are similar to the non _fd named functions, only instead of returning
 an array or strings, they print a new-line separated array of strings in
 fd, and return



Home | Main Index | Thread Index | Old Index