projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: complete error handling of babeltrace API
[babeltrace.git]
/
converter
/
babeltrace.c
diff --git
a/converter/babeltrace.c
b/converter/babeltrace.c
index fd6586a5a1e020eb80d168ef19b689f9db987dcd..946a1568ea389a24aea12dea82641b917b6d7926 100644
(file)
--- a/
converter/babeltrace.c
+++ b/
converter/babeltrace.c
@@
-401,7
+401,7
@@
int bt_context_add_traces_recursive(struct bt_context *ctx, const char *path,
node->fts_accpath, format_str,
packet_seek, NULL, NULL);
if (trace_id < 0) {
node->fts_accpath, format_str,
packet_seek, NULL, NULL);
if (trace_id < 0) {
- fprintf(stderr, "[warning] [Context]
opening
trace \"%s\" from %s "
+ fprintf(stderr, "[warning] [Context]
cannot open
trace \"%s\" from %s "
"for reading.\n", node->fts_accpath, path);
/* Allow to skip erroneous traces. */
ret = 1; /* partial error */
"for reading.\n", node->fts_accpath, path);
/* Allow to skip erroneous traces. */
ret = 1; /* partial error */
This page took
0.022873 seconds
and
4
git commands to generate.