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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/dl/ptr.c b/ext/dl/ptr.c
index 21a703c24e..2ad022067c 100644
--- a/ext/dl/ptr.c
+++ b/ext/dl/ptr.c
@@ -197,8 +197,8 @@ rb_dlptr_initialize(int argc, VALUE argv[], VALUE self)
f = rb_dlsym2csym(sym);
break;
default:
- rb_bug("rb_dlptr_s_new");
- };
+ rb_bug("rb_dlptr_initialize");
+ }
if( p ){
Data_Get_Struct(self, struct ptr_data, data);
@@ -230,8 +230,8 @@ rb_dlptr_s_malloc(int argc, VALUE argv[], VALUE klass)
f = rb_dlsym2csym(sym);
break;
default:
- rb_bug("rb_dlptr_s_new");
- };
+ rb_bug("rb_dlptr_s_malloc");
+ }
obj = rb_dlptr_malloc(s,f);