about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--ext/tdb/tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/tdb/tdb.c b/ext/tdb/tdb.c
index c108c38..2818a34 100644
--- a/ext/tdb/tdb.c
+++ b/ext/tdb/tdb.c
@@ -71,7 +71,7 @@ static void my_raise(struct tdb_context *tdb)
         }
         if (NIL_P(exc))
                 rb_bug("no-existent exception: %s\n", str);
-        rb_raise(exc, str);
+        rb_raise(exc, "%s", str);
 }
 
 static void init_hashes(void)