diff options
Diffstat (limited to 'regparse.c')
-rw-r--r-- | regparse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regparse.c b/regparse.c index 407b73fc44..ba7e38e7f1 100644 --- a/regparse.c +++ b/regparse.c @@ -64,13 +64,13 @@ extern void onig_null_warn(const char* s) { } extern void onig_rb_warn(const char* s) { - rb_warn(s); + rb_warn("%s", s); } extern void onig_rb_warning(const char* s) { - rb_warning(s); + rb_warning("%s", s); } #endif |