Document libbabeltrace2's C API
[babeltrace.git] / src / lib / trace-ir / resolve-field-path.c
index 4bc0c9c2665fb8e41091a25689be7010e3d2445d..d92a7f3d458fd020456f5d8d5f07d59e2cd33c44 100644 (file)
@@ -25,7 +25,7 @@
 
 #include "lib/assert-pre.h"
 #include "common/assert.h"
-#include <babeltrace2/trace-ir/field-path-const.h>
+#include <babeltrace2/trace-ir/field-path.h>
 #include <limits.h>
 #include <stdbool.h>
 #include <stdint.h>
@@ -230,7 +230,7 @@ struct bt_field_class *borrow_root_field_class(
        case BT_FIELD_PATH_SCOPE_EVENT_PAYLOAD:
                return ctx->event_payload;
        default:
-               abort();
+               bt_common_abort();
        }
 
        return NULL;
This page took 0.024382 seconds and 4 git commands to generate.