mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
-test-/wait_for_single_fd: fix -Wformat-security warning
Oops git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6f9609867c
commit
a687547a9a
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ err:
|
|||
if (kqfd >= 0) close(kqfd);
|
||||
if (msg) {
|
||||
if (e) rb_syserr_fail(e, msg);
|
||||
rb_raise(rb_eRuntimeError, msg);
|
||||
rb_raise(rb_eRuntimeError, "%s", msg);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue