summaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2021-09-12 21:32:26 -0400
committerTavian Barnes <tavianator@tavianator.com>2021-10-09 12:19:28 -0400
commit6d537cb95878bcfa4803af8a42a55e74b463e5c8 (patch)
tree34a7c53ce2fc0afff6cdf1de10e3b7a01fbca07a /eval.c
parent5bf787a8a80152fbf0993fbdc345e25cc41afa7f (diff)
downloadbfs-6d537cb95878bcfa4803af8a42a55e74b463e5c8.tar.xz
printf: Take a CFILE, not a FILE
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
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);
}