summaryrefslogtreecommitdiff
path: root/ext/dl/ptr.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dl/ptr.c')
-rw-r--r--ext/dl/ptr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/ptr.c b/ext/dl/ptr.c
index 59de4d8c988..4d75a3ddf27 100644
--- a/ext/dl/ptr.c
+++ b/ext/dl/ptr.c
@@ -466,7 +466,7 @@ rb_dlptr_inspect(VALUE self)
char str[1024];
Data_Get_Struct(self, struct ptr_data, data);
- snprintf(str, 1023, "#<%s:0x%p ptr=0x%p size=%ld free=0x%p>",
+ snprintf(str, 1023, "#<%s:0x%x ptr=0x%x size=%ld free=0x%x>",
rb_class2name(CLASS_OF(self)), data, data->ptr, data->size, data->free);
return rb_str_new2(str);
}