mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
error message refined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
18646d74dd
commit
f9feb22f1a
1 changed files with 1 additions and 1 deletions
|
@ -381,7 +381,7 @@ unix_recv_io(int argc, VALUE *argv, VALUE sock)
|
||||||
#else
|
#else
|
||||||
if (arg.msg.msg_accrightslen != sizeof(fd)) {
|
if (arg.msg.msg_accrightslen != sizeof(fd)) {
|
||||||
rb_raise(rb_eSocket,
|
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));
|
arg.msg.msg_accrightslen, (int)sizeof(fd));
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue