From 6d537cb95878bcfa4803af8a42a55e74b463e5c8 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 12 Sep 2021 21:32:26 -0400 Subject: printf: Take a CFILE, not a FILE --- eval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eval.c') diff --git a/eval.c b/eval.c index fbde00e..b35a236 100644 --- a/eval.c +++ b/eval.c @@ -760,7 +760,7 @@ bool eval_fprint0(const struct expr *expr, struct eval_state *state) { * -f?printf action. */ bool eval_fprintf(const struct expr *expr, struct eval_state *state) { - if (bfs_printf(expr->cfile->file, expr->printf, state->ftwbuf) != 0) { + if (bfs_printf(expr->cfile, expr->printf, state->ftwbuf) != 0) { eval_report_error(state); } -- cgit v1.2.3