From 60e976c0f1bcba0463c0f49fd002df14d9654840 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Tue, 22 Oct 2024 16:22:53 -0400 Subject: [PATCH] lib: fix typo in error message Change-Id: I2049e364747977f36243e9d7d07280a2721e829f Signed-off-by: Simon Marchi Reviewed-on: https://review.lttng.org/c/babeltrace/+/13398 Reviewed-by: Philippe Proulx --- src/lib/trace-ir/field-class.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/trace-ir/field-class.c b/src/lib/trace-ir/field-class.c index 3b1eda2d..5f14d264 100644 --- a/src/lib/trace-ir/field-class.c +++ b/src/lib/trace-ir/field-class.c @@ -626,7 +626,7 @@ struct bt_field_class *create_enumeration_field_class( enum_fc->label_buf = g_ptr_array_new(); if (!enum_fc->label_buf) { - BT_LIB_LOGE_APPEND_CAUSE("Failed to allocate a GArray."); + BT_LIB_LOGE_APPEND_CAUSE("Failed to allocate a GPtrArray."); goto error; } -- 2.34.1