summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/proftool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/proftool.c b/tools/proftool.c
index a48ed28..aa05e77 100644
--- a/tools/proftool.c
+++ b/tools/proftool.c
@@ -333,7 +333,7 @@ static void check_trace_config_line(struct trace_configline_info *item)
if (err == REG_NOMATCH)
continue;
- if (err != REG_NOERROR) {
+ if (err) {
regex_report_error(&item->regex, err, "match",
item->name);
break;