summaryrefslogtreecommitdiff
path: root/ext/-test-/wait_for_single_fd/wait_for_single_fd.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/-test-/wait_for_single_fd/wait_for_single_fd.c')
-rw-r--r--ext/-test-/wait_for_single_fd/wait_for_single_fd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/-test-/wait_for_single_fd/wait_for_single_fd.c b/ext/-test-/wait_for_single_fd/wait_for_single_fd.c
index 6eaeff1..b8a3397 100644
--- a/ext/-test-/wait_for_single_fd/wait_for_single_fd.c
+++ b/ext/-test-/wait_for_single_fd/wait_for_single_fd.c
@@ -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;
}