aboutsummaryrefslogtreecommitdiffstats
path: root/error.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-02-03 06:15:51 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-02-03 06:15:51 +0000
commit338bd4cc651964e3901a4ddaa52667ddb47a55cf (patch)
tree716e48eb9897ba5fb4bab566b5a5a914acd28ffc /error.c
parent45df1c24d269f93a2bc1e7a6fe0ffcecc1193051 (diff)
downloadruby-338bd4cc651964e3901a4ddaa52667ddb47a55cf.tar.gz
remove duplication in warning
* dir.c (sys_warning_1): remove duplication in the message. * error.c (rb_mod_sys_fail_str): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r--error.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/error.c b/error.c
index 0e8e17b195..662c6d4bee 100644
--- a/error.c
+++ b/error.c
@@ -2096,7 +2096,6 @@ rb_sys_warning(const char *fmt, ...)
if (!RTEST(ruby_verbose)) return;
- snprintf(buf, BUFSIZ, "warning: %s", fmt);
snprintf(buf+strlen(buf), BUFSIZ-strlen(buf), ": %s", strerror(errno_save));
va_start(args, fmt);