From 1d99c8c2c0c013325c465eebb8d5e0a60fc3dc2d Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Fri, 5 Jan 2024 10:26:57 -0500 Subject: [PATCH] Fix: lib: pass correct argument to BT_ASSERT_PRE_PLUGIN_SET_OUT_NON_NULL Reported-By: Brice Videau Change-Id: I88100e83c0d97ef52255863206923bf11ccc07b5 Reviewed-on: https://review.lttng.org/c/babeltrace/+/11624 CI-Build: Simon Marchi Reviewed-by: Brice Videau Reviewed-by: Philippe Proulx Tested-by: jenkins --- src/lib/plugin/plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/plugin/plugin.c b/src/lib/plugin/plugin.c index 3287f662..67400177 100644 --- a/src/lib/plugin/plugin.c +++ b/src/lib/plugin/plugin.c @@ -190,7 +190,7 @@ enum bt_plugin_find_all_from_file_status bt_plugin_find_all_from_file( BT_ASSERT_PRE_NO_ERROR(); BT_ASSERT_PRE_NON_NULL("path", path, "Path"); - BT_ASSERT_PRE_PLUGIN_SET_OUT_NON_NULL(path); + BT_ASSERT_PRE_PLUGIN_SET_OUT_NON_NULL(plugin_set_out); BT_LOGI("Creating plugins from file: path=\"%s\"", path); /* Try shared object plugins */ -- 2.34.1