projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: callbacks.c: more explicit error msg
[babeltrace.git]
/
formats
/
ctf
/
callbacks.c
diff --git
a/formats/ctf/callbacks.c
b/formats/ctf/callbacks.c
index f4e0a1451c84974deba2b279563ba663e71aac14..e9dbba96a632822baca8a40dbb0675b0ff5d62e4 100644
(file)
--- a/
formats/ctf/callbacks.c
+++ b/
formats/ctf/callbacks.c
@@
-106,7
+106,7
@@
int bt_ctf_iter_add_callback(struct bt_ctf_iter *iter,
(gconstpointer) (unsigned long) event);
/* event not found in this stream class */
if (!event_id_ptr) {
(gconstpointer) (unsigned long) event);
/* event not found in this stream class */
if (!event_id_ptr) {
- fprintf(stderr, "
event not found
\n");
+ fprintf(stderr, "
[error] Event ID not found in stream class
\n");
continue;
}
event_id = (uint64_t)(unsigned long) *event_id_ptr;
continue;
}
event_id = (uint64_t)(unsigned long) *event_id_ptr;
This page took
0.022561 seconds
and
4
git commands to generate.