1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* dln.c (aix_loaderror): needs format string.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-09-28 13:33:13 +00:00
parent 51cefa387c
commit b957eb25ff
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Mon Sep 28 22:33:11 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* dln.c (aix_loaderror): needs format string.
Mon Sep 28 19:36:20 2009 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/wini32.c (LK_ERR): with overlapped I/O, LockFileEx() returns

2
dln.c
View file

@ -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