Fix: correct name of bt_ctf_field_get_error in comments and typo in man page
authorDanny Serres <danny.serres@efficios.com>
Thu, 9 Aug 2012 16:34:59 +0000 (12:34 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 9 Aug 2012 16:34:59 +0000 (12:34 -0400)
Signed-off-by: Danny Serres <danny.serres@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
doc/babeltrace.1
formats/ctf/events.c
include/babeltrace/ctf/events.h

index db07cafa0477b8cbd2fe53c5b9533f4e013331b3..db462f46d42a7073f9caa80eccf21add9c4b3e7c 100644 (file)
@@ -97,7 +97,7 @@ babeltrace-log(1), lttng(1), lttng-ust(3), lttng-sessiond(8)
 .SH "BUGS"
 
 .PP
 .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 <lttng-dev@lists.lttng.org> to help improve this
 
 If you encounter any issues or usability problem, please report it on
 our mailing list <lttng-dev@lists.lttng.org> to help improve this
index a8b08f657680ec4ddfffe282726ff8ac2de7a988..5d92b0872e418ceb69f473e4de3c969f11b96461 100644 (file)
@@ -34,7 +34,7 @@
 /*
  * thread local storage to store the last error that occured
  * while reading a field, this variable must be accessed by
 /*
  * 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
  */
 __thread int bt_ctf_last_field_error = 0;
 
  */
 __thread int bt_ctf_last_field_error = 0;
 
index 4232feb3cd202c7ea118cf45333aad1b71d3faea..2bf9c62d7a971f322b14a3c0e6884f91e2fe7538 100644 (file)
@@ -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
  *
  * 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);
  */
 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);
 
 /*
 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.
  */
  * accessing a field and reset the error flag.
  * Return 0 if no error, a negative value otherwise.
  */
This page took 0.025696 seconds and 4 git commands to generate.