summaryrefslogtreecommitdiffstats
path: root/dln.c
diff options
context:
space:
mode:
Diffstat (limited to 'dln.c')
-rw-r--r--dln.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dln.c b/dln.c
index 6fc97787e..db368662c 100644
--- a/dln.c
+++ b/dln.c
@@ -1442,7 +1442,8 @@ dln_load(const char *file)
/* load extention module */
img_id = load_add_on(file);
if (img_id <= 0) {
- rb_loaderror("Failed to load %.200s", file);
+ rb_loaderror("Failed to load add_on %.200s error_code=%x",
+ file, img_id);
}
/* find symbol for module initialize function. */