Browse code

Merge d09cd1402138674baf0531d227512bf3324334ac into 8fa77cf95a1e985405d3471fc5655e2ec6a2e192

Boris Korzun authored on 28/07/2022 08:09:24 • GitHub committed on 28/07/2022 08:09:24
Showing 1 changed files
... ...
@@ -347,6 +347,9 @@ int ksr_version_control(void *handle, char *path)
347 347
 	char **m_flags;
348 348
 	char* error;
349 349
 
350
+#ifdef __FreeBSD__
351
+    (void) dlerror();
352
+#endif
350 353
 	m_ver=(char **)dlsym(handle, "module_version");
351 354
 	if ((error=(char *)dlerror())!=0) {
352 355
 		LM_ERR("no version info in module <%s>: %s\n", path, error);