aboutsummaryrefslogtreecommitdiffstats
path: root/eval_error.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval_error.c')
-rw-r--r--eval_error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval_error.c b/eval_error.c
index 41fcbb0abb..b65ce17d0b 100644
--- a/eval_error.c
+++ b/eval_error.c
@@ -16,7 +16,7 @@ warn_printf(const char *fmt, ...)
}
#define warn_print(x) rb_write_error(x)
-#define warn_print2(x,l) rb_write_error2(x,l)
+#define warn_print2(x,l) rb_write_error2((x),(l))
static void
error_pos(void)