ext/rjbexception.c in rjb-1.1.8 vs ext/rjbexception.c in rjb-1.1.9

- old
+ new

@@ -10,11 +10,11 @@ * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * - * $Id: rjbexception.c 75 2008-08-14 10:03:52Z arton $ + * $Id: rjbexception.c 94 2009-09-10 13:54:42Z arton $ */ #include "ruby.h" #include "extconf.h" #if RJB_RUBY_VERSION_CODE < 190 @@ -130,10 +130,10 @@ { rb_raise(rb_eRuntimeError, "%s", msg); } else { - rb_raise(rexp, msg); + rb_raise(rexp, "%s", msg); } } } }