Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vm/builtin/system.cpp
Original file line number Diff line number Diff line change
@@ -384,7 +384,7 @@ namespace rubinius {
strerror(errno), command_line.str().c_str());

int error_no = errno;
write(fds[1], &error_no, sizeof(int));
(void)write(fds[1], &error_no, sizeof(int));
close(fds[1]);

exit(1);
@@ -507,7 +507,7 @@ namespace rubinius {
strerror(errno), exe.command());

int error_no = errno;
write(errors[1], &error_no, sizeof(int));
(void)write(errors[1], &error_no, sizeof(int));
close(errors[1]);

exit(1);

0 comments on commit f2d9aa6

Please sign in to comment.