aboutsummaryrefslogtreecommitdiff
path: root/findutils/find.c
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2019-08-16 09:42:39 +0100
committerRon Yorston <rmy@pobox.com>2019-08-16 09:45:21 +0100
commit517cf74f6265ec4308b790b637b3f9778cbdc6e0 (patch)
treebe9337069b60ca1bb03565d8575bacfc71181003 /findutils/find.c
parentae65dc37bcc9b1d9cef0b111131c79dc4ba1bf51 (diff)
parentac78f2ac96b3efd6551a08e7dc609efa1fb69481 (diff)
downloadbusybox-w32-517cf74f6265ec4308b790b637b3f9778cbdc6e0.tar.gz
busybox-w32-517cf74f6265ec4308b790b637b3f9778cbdc6e0.tar.bz2
busybox-w32-517cf74f6265ec4308b790b637b3f9778cbdc6e0.zip
Merge branch 'busybox' into merge
Diffstat (limited to 'findutils/find.c')
-rw-r--r--findutils/find.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/findutils/find.c b/findutils/find.c
index 8706e2cf3..66ad36283 100644
--- a/findutils/find.c
+++ b/findutils/find.c
@@ -1245,7 +1245,7 @@ static action*** parse_params(char **argv)
1245 * coreutils expects {} to appear only once in "-exec +" 1245 * coreutils expects {} to appear only once in "-exec +"
1246 */ 1246 */
1247 if (all_subst != 1 && ap->filelist) 1247 if (all_subst != 1 && ap->filelist)
1248 bb_error_msg_and_die("only one '{}' allowed for -exec +"); 1248 bb_simple_error_msg_and_die("only one '{}' allowed for -exec +");
1249# endif 1249# endif
1250 } 1250 }
1251#endif 1251#endif
@@ -1259,7 +1259,7 @@ static action*** parse_params(char **argv)
1259 endarg = argv; 1259 endarg = argv;
1260 while (1) { 1260 while (1) {
1261 if (!*++endarg) 1261 if (!*++endarg)
1262 bb_error_msg_and_die("unpaired '('"); 1262 bb_simple_error_msg_and_die("unpaired '('");
1263 if (LONE_CHAR(*endarg, '(')) 1263 if (LONE_CHAR(*endarg, '('))
1264 nested++; 1264 nested++;
1265 else if (LONE_CHAR(*endarg, ')') && !--nested) { 1265 else if (LONE_CHAR(*endarg, ')') && !--nested) {