diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2022-12-08 16:43:29 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2022-12-08 16:46:44 -0500 |
commit | ededa3ed1cf0d02fcdb9a42d44d46a84fec1c58e (patch) | |
tree | f069bc16c3ca48c849603ef54d28e297da04152f /src/opt.c | |
parent | 031ebed0e5f59ed8c2404a7162732808db4af047 (diff) | |
download | bfs-ededa3ed1cf0d02fcdb9a42d44d46a84fec1c58e.tar.xz |
opt: Pass a va_list to bfs_vwarning(), not bfs_warning()
Luckily none of the callers actually pass any arguments.
Diffstat (limited to 'src/opt.c')
-rw-r--r-- | src/opt.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -339,7 +339,7 @@ static void opt_warning(const struct opt_state *state, const struct bfs_expr *ex if (bfs_expr_warning(state->ctx, expr)) { va_list args; va_start(args, format); - bfs_warning(state->ctx, format, args); + bfs_vwarning(state->ctx, format, args); va_end(args); } } |