summaryrefslogtreecommitdiffstats
path: root/usr.bin/find
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>2002-04-12 21:25:16 +0000
committercharnier <charnier@FreeBSD.org>2002-04-12 21:25:16 +0000
commitd888a630aea1a4f8e210b40e8f83e4b7415b1aa8 (patch)
treebb5e97de27cc45f3e6040eaed371417e50e62072 /usr.bin/find
parentcdd3ddccaad20039d07e74faa9b712fc16376962 (diff)
downloadFreeBSD-src-d888a630aea1a4f8e210b40e8f83e4b7415b1aa8.zip
FreeBSD-src-d888a630aea1a4f8e210b40e8f83e4b7415b1aa8.tar.gz
Replace err() with errx(), errno is garbage in this context.
Diffstat (limited to 'usr.bin/find')
-rw-r--r--usr.bin/find/operator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/find/operator.c b/usr.bin/find/operator.c
index ce3925a..c67abc0 100644
--- a/usr.bin/find/operator.c
+++ b/usr.bin/find/operator.c
@@ -98,7 +98,7 @@ yankexpr(planp)
if (node->execute == f_openparen)
for (tail = subplan = NULL;;) {
if ((next = yankexpr(planp)) == NULL)
- err(1, "(: missing closing ')'");
+ errx(1, "(: missing closing ')'");
/*
* If we find a closing ')' we store the collected
* subplan in our '(' node and convert the node to
OpenPOWER on IntegriCloud