summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAndreas Bießmann <andreas.devel@googlemail.com>2013-07-02 08:37:36 +0200
committerTom Rini <trini@ti.com>2013-07-03 09:35:37 -0400
commitd4125ebc8dae28e8ade858ba519bca7fbeb6ccae (patch)
tree48b31213b501abd0ee0a119221967838dd034732 /tools
parent1a260fe3efc1a42332480bb9aa6e6703af79f267 (diff)
downloadu-boot-imx-d4125ebc8dae28e8ade858ba519bca7fbeb6ccae.zip
u-boot-imx-d4125ebc8dae28e8ade858ba519bca7fbeb6ccae.tar.gz
u-boot-imx-d4125ebc8dae28e8ade858ba519bca7fbeb6ccae.tar.bz2
tools/proftool: remove REG_NOERROR
Remove non portable usage of REG_NOERROR. BSD (like OS X) variants of regex.h do not declare REG_NOERROR, even GNU regex(3) does not mention REG_NOERROR, just remove it. Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com> Acked-by: Jeroen Hofstee <jeroen@myspectrum.nl>
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;