diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2022-11-30 13:57:12 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2022-11-30 14:10:18 -0500 |
commit | 33a6a3027f0b1ec931824a4b2206bf6659df53a4 (patch) | |
tree | 27b7946f34848695723f087c62e35439d02d22be /src/parse.c | |
parent | 1d68b43f1554ee82b3ac5772534a5ecbd57855a7 (diff) | |
download | bfs-33a6a3027f0b1ec931824a4b2206bf6659df53a4.tar.xz |
parse: Pass the right argument when warning about -O9
Diffstat (limited to 'src/parse.c')
-rw-r--r-- | src/parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse.c b/src/parse.c index 16132f3..5ef71f8 100644 --- a/src/parse.c +++ b/src/parse.c @@ -1016,7 +1016,7 @@ static struct bfs_expr *parse_optlevel(struct parser_state *state, int arg1, int } if (*optlevel > 4) { - parse_expr_warning(state, expr, "${cyn}-O${bld}%s${rs} is the same as ${cyn}-O${bld}4${rs}.\n\n", state->argv[0] + 2); + parse_expr_warning(state, expr, "${cyn}-O${bld}%s${rs} is the same as ${cyn}-O${bld}4${rs}.\n\n", expr->argv[0] + 2); } return expr; |