From 6f4d00e565df9f8c46bfca069550f941dbf4c740 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 6 Mar 2013 06:30:06 +0000 Subject: [PATCH] process.c: fix error message * process.c (check_exec_redirect_fd): fix error message for unknown symbol. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/process.c b/process.c index 48eee5dc75..f5ccbbe1d2 100644 --- a/process.c +++ b/process.c @@ -1472,10 +1472,10 @@ check_exec_redirect_fd(VALUE v, int iskey) fd = fptr->fd; } else { + wrong: rb_raise(rb_eArgError, "wrong exec redirect"); } if (fd < 0) { - wrong: rb_raise(rb_eArgError, "negative file descriptor"); } #ifdef _WIN32