diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-02-03 06:15:51 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-02-03 06:15:51 +0000 |
commit | 338bd4cc651964e3901a4ddaa52667ddb47a55cf (patch) | |
tree | 716e48eb9897ba5fb4bab566b5a5a914acd28ffc /error.c | |
parent | 45df1c24d269f93a2bc1e7a6fe0ffcecc1193051 (diff) |
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.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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); |