diff options
author | ttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-11-25 08:15:29 +0000 |
---|---|---|
committer | ttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-11-25 08:15:29 +0000 |
commit | f7a5ee56d72e4badc825d60af0d8efc36d3d95d1 (patch) | |
tree | a7834cca33ebaa8aaebbce9fefe0cefad4436292 /ext/dl/ptr.c | |
parent | 058c1d1620218ef0a8304516007479922a1a4523 (diff) |
Use 'P' instead of 'p' in types.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl/ptr.c')
-rw-r--r-- | ext/dl/ptr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dl/ptr.c b/ext/dl/ptr.c index 2e01d967a1..fba370b572 100644 --- a/ext/dl/ptr.c +++ b/ext/dl/ptr.c @@ -697,7 +697,7 @@ cary2ary(void *ptr, char t, int len) ptr = (char *)ptr + sizeof(short); break; default: - rb_raise(rb_eDLTypeError, "unsupported type '%c'", t); + rb_raise(rb_eDLTypeError, "cary2ary: unsupported type '%c'", t); } return elem; } @@ -735,7 +735,7 @@ cary2ary(void *ptr, char t, int len) ptr = (char *)ptr + sizeof(short); break; default: - rb_raise(rb_eDLTypeError, "unsupported type '%c'", t); + rb_raise(rb_eDLTypeError, "cary2ary: unsupported type '%c'", t); } rb_ary_push(ary, elem); } |