diff --git a/deps/Makefile b/deps/Makefile index 96fc1b0..ca35e2e 100644 --- a/deps/Makefile +++ b/deps/Makefile @@ -19,7 +19,7 @@ flatcc/bin/flatcc: flatcc ptQueue: - @git clone ssh://git@git.nikto-b.ru:2223/nikto_b/ptQueue.git + @git clone https://git.nikto-b.ru/nikto_b/ptQueue ptQueue/out/ptQueue.a: ptQueue @make -C ptQueue diff --git a/src/hmmmm.c b/src/hmmmm.c index 5d5cb99..4383378 100644 --- a/src/hmmmm.c +++ b/src/hmmmm.c @@ -99,7 +99,8 @@ device_lib_t* loadDeviceLib(const char *libpath, char* errbuf) void *handle = dlopen(libpath, RTLD_NOW); if (!handle) { - snprintf(errbuf, 1024, "unable to open dl handle"); + const char *dlerr = dlerror(); + snprintf(errbuf, 1024, "unable to open dl handle: %s", dlerr); free(dev); return NULL; }