If we can't load a dynamic backend, there's no point continuing at
present. So exit.
handle = dlopen(soname, RTLD_LAZY);
if (handle == NULL) {
handle = dlopen(soname, RTLD_LAZY);
if (handle == NULL) {
- logthing(LOGTHING_ERROR,
+ logthing(LOGTHING_CRITICAL,
"Failed to open handle to library '%s': %s",
soname, dlerror());
free(soname);
soname = NULL;
"Failed to open handle to library '%s': %s",
soname, dlerror());
free(soname);
soname = NULL;
}
free(soname);
soname = NULL;
}
free(soname);
soname = NULL;