From c19118417e10ff7de1c94e88a856e034fb730617 Mon Sep 17 00:00:00 2001 From: zzak Date: Sat, 9 Nov 2013 05:29:59 +0000 Subject: * ext/dl/cfunc.c: [DOC] fix typo in example [Bug #8944] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/dl/cfunc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/dl/cfunc.c') diff --git a/ext/dl/cfunc.c b/ext/dl/cfunc.c index 46a26be7b8..1f4958bbdc 100644 --- a/ext/dl/cfunc.c +++ b/ext/dl/cfunc.c @@ -639,7 +639,7 @@ Init_dlcfunc(void) * => "/lib64/libc.so.6" * libc = DL::dlopen(libc_so) * => # - * @cfunc = DL::CFunc.new(libc,['strcpy'], DL::TYPE_VOIDP, 'strcpy') + * @cfunc = DL::CFunc.new(libc['strcpy'], DL::TYPE_VOIDP, 'strcpy') * => # * */ -- cgit v1.2.3