Fix: lib: pass correct argument to BT_ASSERT_PRE_PLUGIN_SET_OUT_NON_NULL
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 5 Jan 2024 15:26:57 +0000 (10:26 -0500)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 23 Jan 2024 16:34:51 +0000 (11:34 -0500)
Reported-By: Brice Videau <bvideau@anl.gov>
Change-Id: I88100e83c0d97ef52255863206923bf11ccc07b5
Reviewed-on: https://review.lttng.org/c/babeltrace/+/11624
CI-Build: Simon Marchi <simon.marchi@efficios.com>
Reviewed-by: Brice Videau <bvideau@anl.gov>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Tested-by: jenkins <jenkins@lttng.org>
src/lib/plugin/plugin.c

index 3287f662eb0caec05814c2c3b9646c92b7d0bc57..6740017742af9dbe7908f0a8c788993b457d18c3 100644 (file)
@@ -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 */
This page took 0.025791 seconds and 4 git commands to generate.