Fix: correct name of bt_ctf_field_get_error in comments and typo in man page
A message that is not in the archive (sent off-list or not yet received): [email protected]
Mathieu Desnoyers
AppliedQuoted 1 line · * Danny Serres ([email protected]) wrote:
Signed-off-by Danny Serres <[email protected]>
merged, thanks !
Mathieu
Quoted 62 lines
--- doc/babeltrace.1 | 2 +- formats/ctf/events.c | 2 +- include/babeltrace/ctf/events.h | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-)doc/babeltrace.1 +1
-1@@ -97,7 +97,7 @@ babeltrace-log(1), lttng(1), lttng-ust(3), lttng-sessiond(8) .SH "BUGS" .PP -No knows bugs at this point. +No known bugs at this point. If you encounter any issues or usability problem, please report it on our mailing list <[email protected]> to help improve thisformats/ctf/events.c +1
-1@@ -34,7 +34,7 @@/* * thread local storage to store the last error that occured * while reading a field, this variable must be accessed by -* bt_ctf_field_error only +* bt_ctf_field_get_error only */ __threadint bt_ctf_last_field_error =0 ;include/babeltrace/ctf/events.h +2
-2@@ -182,7 +182,7 @@ int bt_ctf_get_array_len(const struct definition *field);* * If the field does not exist or is not of the type requested, the value * returned is undefined. To check if an error occured, use the -* bt_ctf_field_error() function after accessing a field. +* bt_ctf_field_get_error() function after accessing a field. */ uint64_t bt_ctf_get_uint64 (const struct definition *field);int64_t bt_ctf_get_int64 (const struct definition *field);@@ -190,7 +190,7 @@ char *bt_ctf_get_char_array(const struct definition *field);char *bt_ctf_get_string (const struct definition *field);/* -* bt_ctf_field_error: returns the last error code encountered while +* bt_ctf_field_get_error: returns the last error code encountered while * accessing a field and reset the error flag. * Return 0 if no error, a negative value otherwise. */ Signature · 7 lines
1.7.9.5 _______________________________________________ lttng-dev mailing list [email protected] http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
Signature · 4 lines
Mathieu Desnoyers Operating System Efficiency R&D Consultant EfficiOS Inc. http://www.efficios.com