Port: Set PATH_MAX on GNU Hurd
[babeltrace.git] / src / lib / plugin / plugin.c
index c95fe83070e20dbb4790d7e903d34b8999b3b697..434bb3ea5a0d43fa510d894c909a09f0ef8fba14 100644 (file)
@@ -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 <babeltrace2/plugin/plugin-loading.h>
 #include <babeltrace2/graph/component-class.h>
@@ -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);
 
This page took 0.024164 seconds and 4 git commands to generate.