projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ctf: fix -Wformat-overflow error in ctf-meta-resolve.cpp
[babeltrace.git]
/
src
/
plugins
/
ctf
/
common
/
metadata
/
ctf-meta-resolve.cpp
diff --git
a/src/plugins/ctf/common/metadata/ctf-meta-resolve.cpp
b/src/plugins/ctf/common/metadata/ctf-meta-resolve.cpp
index 06fa55f5e0180c8ad64bc8b3aae60f66f72be22e..5b65414ee6c3dffe0d837ba60448617c996ff5f1 100644
(file)
--- a/
src/plugins/ctf/common/metadata/ctf-meta-resolve.cpp
+++ b/
src/plugins/ctf/common/metadata/ctf-meta-resolve.cpp
@@
-645,7
+645,7
@@
static int pathstr_to_field_path(const char *pathstr, struct ctf_field_path *fie
if (BT_LOG_ON_TRACE && ret == 0) {
GString *field_path_pretty = ctf_field_path_string(field_path);
if (BT_LOG_ON_TRACE && ret == 0) {
GString *field_path_pretty = ctf_field_path_string(field_path);
- const char *field_path_pretty_str = field_path_pretty ? field_path_pretty->str :
NULL
;
+ const char *field_path_pretty_str = field_path_pretty ? field_path_pretty->str :
"(null)"
;
BT_COMP_LOGD("Found field path: path=\"%s\", field-path=\"%s\"", pathstr,
field_path_pretty_str);
BT_COMP_LOGD("Found field path: path=\"%s\", field-path=\"%s\"", pathstr,
field_path_pretty_str);
This page took
0.027058 seconds
and
4
git commands to generate.