summaryrefslogtreecommitdiffstats
path: root/parse.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2016-02-16 10:14:41 -0500
committerTavian Barnes <tavianator@tavianator.com>2016-02-16 10:14:41 -0500
commit3f7fab14c58167f648ba85396fda80c5addffb07 (patch)
tree270333c5cde722ed3a9feac3994a02130cb92b08 /parse.c
parent32fdf4a8263fd70d86f4e09fee167db5b0bdb27a (diff)
downloadbfs-3f7fab14c58167f648ba85396fda80c5addffb07.tar.xz
Add missing "error:" tag to error messages.
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/parse.c b/parse.c
index 86404c9..f9d4522 100644
--- a/parse.c
+++ b/parse.c
@@ -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);