summaryrefslogtreecommitdiff
path: root/dln.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-19 00:32:22 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-19 00:32:22 +0000
commit98183a08c7978912cd89689c0b4d5d2a01832985 (patch)
tree73cf87b9f4545f622fb639459970c93118c148df /dln.c
parent9de8ab8b9803ce3f6accf46b3423dcea7198d81c (diff)
* dln.c: newer BeOS support. a patch from Pete Goodeve
<pete.goodeve at computer.org> in [ruby-core:18712]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@19424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 5ba25b6415..5a2f8dfcd4 100644
--- a/dln.c
+++ b/dln.c
@@ -1499,7 +1499,8 @@ dln_load(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. */