1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

signal.c: fix type

* signal.c (sigsegv): type of write(2) is ssize_t.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2013-02-24 01:16:46 +00:00
parent 2474a1ac00
commit 6217417799

View file

@ -658,7 +658,7 @@ static RETSIGTYPE
sigsegv(int sig SIGINFO_ARG)
{
if (segv_received) {
int RB_UNUSED_VAR(err);
ssize_t RB_UNUSED_VAR(err);
char msg[] = "SEGV received in SEGV handler\n";
err = write(2, msg, sizeof(msg));