summaryrefslogtreecommitdiff
path: root/lib/library.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/library.c')
-rw-r--r--lib/library.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/library.c b/lib/library.c
index 7fca099..4d7e212 100644
--- a/lib/library.c
+++ b/lib/library.c
@@ -30,7 +30,7 @@ load(const char *file, struct bm_renderer *renderer)
const char *error = NULL;
if (!(handle = chckDlLoad(file, &error)))
- goto fail;
+ goto load_fail;
const char* (*regfun)(struct render_api*);
if (!(regfun = chckDlLoadSymbol(handle, "register_renderer", &error)))