From 1db206be1094aea5b0a73affd1dacfe6b0de8dcb Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 24 Feb 2013 16:34:00 +0000 Subject: Print system error message if module failes to load git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5082 a436a847-0d15-0410-975c-d299462d15a1 --- src/instance.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/instance.c b/src/instance.c index d5e744a..b45d7bf 100644 --- a/src/instance.c +++ b/src/instance.c @@ -107,7 +107,7 @@ open_wrapper(SuilHost* host, dlerror(); void* lib = dlopen(path, RTLD_NOW); if (!lib) { - SUIL_ERRORF("Unable to open wrap module %s\n", path); + SUIL_ERRORF("Unable to open wrap module %s (%s)\n", path, dlerror()); return NULL; } -- cgit v1.2.1