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:
parent
2474a1ac00
commit
6217417799
1 changed files with 1 additions and 1 deletions
2
signal.c
2
signal.c
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue