summaryrefslogtreecommitdiff
path: root/re.c
diff options
context:
space:
mode:
Diffstat (limited to 're.c')
-rw-r--r--re.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/re.c b/re.c
index 019e4de09f..366387b6ac 100644
--- a/re.c
+++ b/re.c
@@ -1327,7 +1327,7 @@ rb_reg_options(re)
static VALUE
rb_reg_become(copy, re)
- VALUE re;
+ VALUE copy, re;
{
if (copy == re) return copy;
rb_check_frozen(copy);