summaryrefslogtreecommitdiffstats
path: root/src/erec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/erec.c')
-rw-r--r--src/erec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/erec.c b/src/erec.c
index 3e1b7fd1..226c51f5 100644
--- a/src/erec.c
+++ b/src/erec.c
@@ -124,7 +124,7 @@ void erec_print(struct output_ctx *octx, const struct error_record *erec,
unsigned int i, end;
int l;
off_t orig_offset = 0;
- FILE *f = octx->output_fp;
+ FILE *f = octx->error_fp;
if (!f)
return;