aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ruby/ruby.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h
index 7812ee202a..974bfd97fd 100644
--- a/include/ruby/ruby.h
+++ b/include/ruby/ruby.h
@@ -1302,8 +1302,8 @@ rb_obj_written(VALUE a, VALUE oldv, VALUE b, const char *filename, int line)
static inline VALUE
rb_obj_write(VALUE a, VALUE *slot, VALUE b, const char *filename, int line)
{
-#ifdef RGENGC_LOGGING_WRIET
- RGENGC_LOGGING_WRIET(a, slot, b, filename, line);
+#ifdef RGENGC_LOGGING_WRITE
+ RGENGC_LOGGING_WRITE(a, slot, b, filename, line);
#endif
*slot = b;