projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: correct name of bt_ctf_field_get_error in comments and typo in man page
[babeltrace.git]
/
formats
/
ctf
/
events.c
diff --git
a/formats/ctf/events.c
b/formats/ctf/events.c
index 969341327809f08d000e1bff674045f004c1b4db..5d92b0872e418ceb69f473e4de3c969f11b96461 100644
(file)
--- a/
formats/ctf/events.c
+++ b/
formats/ctf/events.c
@@
-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;
@@
-407,7
+407,7
@@
int bt_ctf_get_array_len(const struct definition *field)
uint64_t bt_ctf_get_uint64(const struct definition *field)
{
uint64_t bt_ctf_get_uint64(const struct definition *field)
{
- u
nsigned in
t ret = 0;
+ u
int64_
t ret = 0;
if (field && bt_ctf_field_type(field) == CTF_TYPE_INTEGER)
ret = get_unsigned_int(field);
if (field && bt_ctf_field_type(field) == CTF_TYPE_INTEGER)
ret = get_unsigned_int(field);
@@
-419,7
+419,7
@@
uint64_t bt_ctf_get_uint64(const struct definition *field)
int64_t bt_ctf_get_int64(const struct definition *field)
{
int64_t bt_ctf_get_int64(const struct definition *field)
{
- int ret = 0;
+ int
64_t
ret = 0;
if (field && bt_ctf_field_type(field) == CTF_TYPE_INTEGER)
ret = get_signed_int(field);
if (field && bt_ctf_field_type(field) == CTF_TYPE_INTEGER)
ret = get_signed_int(field);
This page took
0.024068 seconds
and
4
git commands to generate.