ruby-changes:28567
From: akr <ko1@a...>
Date: Thu, 9 May 2013 04:58:50 +0900 (JST)
Subject: [ruby-changes:28567] akr:r40619 (trunk): error message refined.
akr 2013-05-09 04:58:38 +0900 (Thu, 09 May 2013) New Revision: 40619 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40619 Log: error message refined. Modified files: trunk/ext/socket/unixsocket.c Index: ext/socket/unixsocket.c =================================================================== --- ext/socket/unixsocket.c (revision 40618) +++ ext/socket/unixsocket.c (revision 40619) @@ -381,7 +381,7 @@ unix_recv_io(int argc, VALUE *argv, VALU https://github.com/ruby/ruby/blob/trunk/ext/socket/unixsocket.c#L381 #else if (arg.msg.msg_accrightslen != sizeof(fd)) { rb_raise(rb_eSocket, - "file descriptor was not passed (accrightslen) : %d != %d", + "file descriptor was not passed (accrightslen=%d, %d expected)", arg.msg.msg_accrightslen, (int)sizeof(fd)); } #endif -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/