From 232547b3bf17527c6463e12286f16454a77d546b Mon Sep 17 00:00:00 2001 From: matz Date: Fri, 19 Sep 2008 00:33:19 +0000 Subject: * dln.c: newer BeOS support. a patch from Pete Goodeve in [ruby-core:18712]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- dln.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dln.c') 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. */ -- cgit