summaryrefslogtreecommitdiff
path: root/eval_error.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-08-06 18:25:11 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-08-06 18:25:11 +0000
commit5414f008d79a8721dc92b449f613f7e9d7bed806 (patch)
tree5850edf448014b47cebe75107b78c0aa83061d4e /eval_error.c
parentb07df3826502b589e2c874e5ab8ee02ea549f3ac (diff)
* eval_error.c (error_print): removed an extra argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval_error.c')
-rw-r--r--eval_error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval_error.c b/eval_error.c
index 809a66feab..46a0705f4a 100644
--- a/eval_error.c
+++ b/eval_error.c
@@ -90,7 +90,7 @@ error_print(void)
if (!file)
warn_printf("%d", line);
else if (!line)
- warn_printf("%s", file, line);
+ warn_printf("%s", file);
else
warn_printf("%s:%d", file, line);
}