diff options
Diffstat (limited to 'ext/dl/sym.c')
-rw-r--r-- | ext/dl/sym.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/sym.c b/ext/dl/sym.c index 40b2035c00..87d07e7cbe 100644 --- a/ext/dl/sym.c +++ b/ext/dl/sym.c @@ -268,7 +268,7 @@ rb_dlsym_inspect(VALUE self) str_size = RSTRING(proto)->len + 100; str = dlmalloc(str_size); snprintf(str, str_size - 1, - "#<DL::Symbol:0x%p func=0x%p '%s'>", + "#<DL::Symbol:0x%x func=0x%x '%s'>", sym, sym->func, RSTRING(proto)->ptr); val = rb_tainted_str_new2(str); dlfree(str); |