aboutsummaryrefslogtreecommitdiffstats
path: root/eval_error.c
diff options
context:
space:
mode:
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);
}