diff options
author | David Robillard <d@drobilla.net> | 2013-02-24 16:34:00 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-02-24 16:34:00 +0000 |
commit | 1db206be1094aea5b0a73affd1dacfe6b0de8dcb (patch) | |
tree | da77e42f6d9b7066df6e9ace1ab17fb6d0723ee4 /src | |
parent | cc1fa26709bb532db6c97922fc79927079427f1f (diff) | |
download | suil-1db206be1094aea5b0a73affd1dacfe6b0de8dcb.tar.gz suil-1db206be1094aea5b0a73affd1dacfe6b0de8dcb.tar.bz2 suil-1db206be1094aea5b0a73affd1dacfe6b0de8dcb.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/instance.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |