projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add bt_common_abort() and use it instead of abort() directly
[babeltrace.git]
/
src
/
plugins
/
text
/
details
/
details.c
diff --git
a/src/plugins/text/details/details.c
b/src/plugins/text/details/details.c
index 585f97b267b4532a3d2f000726eb33cc0abd18b8..c29a02f3d63185743f2ea577cb3c18babf001f7b 100644
(file)
--- a/
src/plugins/text/details/details.c
+++ b/
src/plugins/text/details/details.c
@@
-25,6
+25,8
@@
#define BT_LOG_TAG "PLUGIN/SINK.TEXT.DETAILS"
#include "logging/comp-logging.h"
#define BT_LOG_TAG "PLUGIN/SINK.TEXT.DETAILS"
#include "logging/comp-logging.h"
+#include <stdbool.h>
+
#include <babeltrace2/babeltrace.h>
#include "common/common.h"
#include <babeltrace2/babeltrace.h>
#include "common/common.h"
@@
-382,7
+384,7
@@
bt_component_class_initialize_method_status details_init(
status = BT_COMPONENT_CLASS_INITIALIZE_METHOD_STATUS_MEMORY_ERROR;
break;
default:
status = BT_COMPONENT_CLASS_INITIALIZE_METHOD_STATUS_MEMORY_ERROR;
break;
default:
- abort();
+
bt_common_
abort();
}
details_comp = create_details_comp(comp);
}
details_comp = create_details_comp(comp);
@@
-516,7
+518,7
@@
details_consume(bt_self_component_sink *comp)
ret = BT_COMPONENT_CLASS_SINK_CONSUME_METHOD_STATUS_MEMORY_ERROR;
goto end;
default:
ret = BT_COMPONENT_CLASS_SINK_CONSUME_METHOD_STATUS_MEMORY_ERROR;
goto end;
default:
- abort();
+
bt_common_
abort();
}
end:
}
end:
This page took
0.037864 seconds
and
4
git commands to generate.