aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gorg/xsl')
-rw-r--r--ext/gorg/xsl/xsl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gorg/xsl/xsl.c b/ext/gorg/xsl/xsl.c
index c1a9a94..5eccd43 100644
--- a/ext/gorg/xsl/xsl.c
+++ b/ext/gorg/xsl/xsl.c
@@ -383,7 +383,7 @@ void my_raise(VALUE obj, s_cleanup *clean, VALUE rbExcep, char *err)
// Raise exception if requested to
if (rbExcep != Qnil)
{
- rb_raise(rbExcep, err);
+ rb_raise(rbExcep, "%s", err);
}
}