summaryrefslogtreecommitdiffstats
path: root/dln.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-28 13:33:13 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-28 13:33:13 +0000
commit40e9d8978df6d62ff63d5206aeb6de348e697b65 (patch)
treeb92d99ba03f9efbb10f77c21bc499743cf8a1c55 /dln.c
parent61a42dca99e72f06b1718433754536f3affccd51 (diff)
downloadruby-40e9d8978df6d62ff63d5206aeb6de348e697b65.tar.gz
ruby-40e9d8978df6d62ff63d5206aeb6de348e697b65.tar.xz
ruby-40e9d8978df6d62ff63d5206aeb6de348e697b65.zip
* dln.c (aix_loaderror): needs format string.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dln.c')
-rw-r--r--dln.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dln.c b/dln.c
index a4250a511..599ad2eb7 100644
--- a/dln.c
+++ b/dln.c
@@ -1190,7 +1190,7 @@ aix_loaderror(const char *pathname)
ERRBUF_APPEND("\n");
}
errbuf[strlen(errbuf)-1] = '\0'; /* trim off last newline */
- rb_loaderror(errbuf);
+ rb_loaderror("%s", errbuf);
return;
}
#endif