lib: use BT_LIB_LOG*_APPEND_CAUSE() where appropriate
[babeltrace.git] / src / lib / object-pool.c
index 3aa9b2e1e64412d14d37b94ee4aa13ab79f80303..8d95a890bbda66dd7da0ab497be3cc7a527f2e00 100644 (file)
@@ -21,7 +21,7 @@
  */
 
 #define BT_LOG_TAG "LIB/OBJECT-POOL"
-#include "lib/lib-logging.h"
+#include "lib/logging.h"
 
 #include <stdint.h>
 #include "common/assert.h"
@@ -41,7 +41,7 @@ int bt_object_pool_initialize(struct bt_object_pool *pool,
                pool, data);
        pool->objects = g_ptr_array_new();
        if (!pool->objects) {
-               BT_LOGE_STR("Failed to allocate a GPtrArray.");
+               BT_LIB_LOGE_APPEND_CAUSE("Failed to allocate a GPtrArray.");
                goto error;
        }
 
This page took 0.023482 seconds and 4 git commands to generate.