aboutsummaryrefslogtreecommitdiff
path: root/findutils/find.c
diff options
context:
space:
mode:
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 06ad1b39c..d6679bd08 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) {