fix arity mismatch
I missed this in bc3e7924bc66d3ef77b219c72f3e59cc154550a3 because the function is inside of a #ifdef.
This commit is contained in:
parent
12de92a368
commit
f40143fe7c
2
gc.c
2
gc.c
@ -11681,7 +11681,7 @@ rb_gcdebug_print_obj_condition(VALUE obj)
|
||||
}
|
||||
|
||||
static VALUE
|
||||
gcdebug_sentinel(VALUE obj, VALUE name)
|
||||
gcdebug_sentinel(RB_BLOCK_CALL_FUNC_ARGLIST(obj, name))
|
||||
{
|
||||
fprintf(stderr, "WARNING: object %s(%p) is inadvertently collected\n", (char *)name, (void *)obj);
|
||||
return Qnil;
|
||||
|
Loading…
x
Reference in New Issue
Block a user