projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
common: introduce bt_g_array_index
[babeltrace.git]
/
src
/
ctf-writer
/
fields.c
diff --git
a/src/ctf-writer/fields.c
b/src/ctf-writer/fields.c
index 3d6e35236ac61cde337b145524058e4690c4f9f8..e05bcbcba9bd28f4a485ccab39a2a96cc05150df 100644
(file)
--- a/
src/ctf-writer/fields.c
+++ b/
src/ctf-writer/fields.c
@@
-163,7
+163,7
@@
int bt_ctf_field_common_string_initialize(struct bt_ctf_field_common *field,
}
g_array_set_size(string->buf, 1);
- g_array_index(string->buf, char, 0) = '\0';
+
bt_
g_array_index(string->buf, char, 0) = '\0';
BT_LOGD("Initialized common string field object: addr=%p, ft-addr=%p",
field, type);
This page took
0.023968 seconds
and
4
git commands to generate.