summaryrefslogtreecommitdiffstats
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
commita2fffe685729f00009bdc57a1fd42382cb387558 (patch)
tree5850edf448014b47cebe75107b78c0aa83061d4e /eval_error.c
parent949ac512c47fe09094ca8246e3d25a7bf1f6225a (diff)
downloadruby-a2fffe685729f00009bdc57a1fd42382cb387558.tar.gz
ruby-a2fffe685729f00009bdc57a1fd42382cb387558.tar.xz
ruby-a2fffe685729f00009bdc57a1fd42382cb387558.zip
* eval_error.c (error_print): removed an extra argument.
git-svn-id: http://svn.ruby-lang.org/repos/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 809a66fea..46a0705f4 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);
}
OSZAR »