X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;f=src%2Flib%2Fplugin%2Fplugin.c;h=434bb3ea5a0d43fa510d894c909a09f0ef8fba14;hb=7cbfb97d31328c7d3543f9d3a803133e6d9adcef;hp=c95fe83070e20dbb4790d7e903d34b8999b3b697;hpb=d5b13b9b6a434797f856547be1ca6a59f70ba530;p=babeltrace.git diff --git a/src/lib/plugin/plugin.c b/src/lib/plugin/plugin.c index c95fe830..434bb3ea 100644 --- a/src/lib/plugin/plugin.c +++ b/src/lib/plugin/plugin.c @@ -12,6 +12,7 @@ #include "lib/assert-cond.h" #include "common/macros.h" #include "compat/compiler.h" +#include "compat/limits.h" #include "common/common.h" #include #include @@ -184,7 +185,7 @@ enum bt_plugin_find_all_from_file_status bt_plugin_find_all_from_file( enum bt_plugin_find_all_from_file_status status; BT_ASSERT_PRE_NO_ERROR(); - BT_ASSERT_PRE_NON_NULL(path, "Path"); + BT_ASSERT_PRE_NON_NULL("path", path, "Path"); BT_ASSERT_PRE_PLUGIN_SET_OUT_NON_NULL(path); BT_LOGI("Creating plugins from file: path=\"%s\"", path);