aboutsummaryrefslogtreecommitdiff
path: root/match.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-01-18 11:15:53 -0800
committerBruce Hill <bruce@bruce-hill.com>2021-01-18 11:15:53 -0800
commite98574570ec0e355c6cff2b6e30bd992f20fe610 (patch)
tree69339683fc1e3831e6d553dcfd29bbd0a91f9d52 /match.c
parent46f1747947503a6fab403e2d77e97408a47cbae7 (diff)
More static analysis cleanup
Diffstat (limited to 'match.c')
-rw-r--r--match.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/match.c b/match.c
index e2e00c2..a8451e6 100644
--- a/match.c
+++ b/match.c
@@ -518,7 +518,7 @@ static match_t *match(def_t *defs, file_t *f, const char *str, pat_t *pat, bool
}
default: {
fprintf(stderr, "Unknown pattern type: %d", pat->type);
- exit(1);
+ exit(EXIT_FAILURE);
return NULL;
}
}