-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
@ -74,7 +74,7 @@ err:
|
|||||||
if (kqfd >= 0) close(kqfd);
|
if (kqfd >= 0) close(kqfd);
|
||||||
if (msg) {
|
if (msg) {
|
||||||
if (e) rb_syserr_fail(e, msg);
|
if (e) rb_syserr_fail(e, msg);
|
||||||
rb_raise(rb_eRuntimeError, msg);
|
rb_raise(rb_eRuntimeError, "%s", msg);
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user