summaryrefslogtreecommitdiff
path: root/ext/dl/cptr.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dl/cptr.c')
-rw-r--r--ext/dl/cptr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/cptr.c b/ext/dl/cptr.c
index edaa2e6..62ab389 100644
--- a/ext/dl/cptr.c
+++ b/ext/dl/cptr.c
@@ -391,7 +391,7 @@ rb_dlptr_inspect(VALUE self)
TypedData_Get_Struct(self, struct ptr_data, &dlptr_data_type, data);
return rb_sprintf("#<%"PRIsVALUE":%p ptr=%p size=%ld free=%p>",
- CLASS_OF(self), data, data->ptr, data->size, data->free);
+ rb_obj_class(self), data, data->ptr, data->size, data->free);
}
/*