diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2016-02-16 10:14:41 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2016-02-16 10:14:41 -0500 |
commit | 3f7fab14c58167f648ba85396fda80c5addffb07 (patch) | |
tree | 270333c5cde722ed3a9feac3994a02130cb92b08 | |
parent | 32fdf4a8263fd70d86f4e09fee167db5b0bdb27a (diff) | |
download | bfs-3f7fab14c58167f648ba85396fda80c5addffb07.tar.xz |
Add missing "error:" tag to error messages.
-rw-r--r-- | parse.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -461,7 +461,7 @@ static struct expr *parse_group(struct parser_state *state, const char *option) error: pretty_error(state->cmdline->stderr_colors, - "%s %s: %s\n", option, expr->sdata, error); + "error: %s %s: %s\n", option, expr->sdata, error); fail: free_expr(expr); @@ -499,7 +499,7 @@ static struct expr *parse_user(struct parser_state *state, const char *option) { error: pretty_error(state->cmdline->stderr_colors, - "%s %s: %s\n", option, expr->sdata, error); + "error: %s %s: %s\n", option, expr->sdata, error); fail: free_expr(expr); |