summaryrefslogtreecommitdiff
path: root/findutils
diff options
context:
space:
mode:
Diffstat (limited to 'findutils')
-rw-r--r--findutils/find.c4
-rw-r--r--findutils/xargs.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/findutils/find.c b/findutils/find.c
index 06ad1b3..d6679bd 100644
--- a/findutils/find.c
+++ b/findutils/find.c
@@ -1245,7 +1245,7 @@ static action*** parse_params(char **argv)
* coreutils expects {} to appear only once in "-exec +"
*/
if (all_subst != 1 && ap->filelist)
- bb_error_msg_and_die("only one '{}' allowed for -exec +");
+ bb_simple_error_msg_and_die("only one '{}' allowed for -exec +");
# endif
}
#endif
@@ -1259,7 +1259,7 @@ static action*** parse_params(char **argv)
endarg = argv;
while (1) {
if (!*++endarg)
- bb_error_msg_and_die("unpaired '('");
+ bb_simple_error_msg_and_die("unpaired '('");
if (LONE_CHAR(*endarg, '('))
nested++;
else if (LONE_CHAR(*endarg, ')') && !--nested) {
diff --git a/findutils/xargs.c b/findutils/xargs.c
index 03eafd6..7263158 100644
--- a/findutils/xargs.c
+++ b/findutils/xargs.c
@@ -665,7 +665,7 @@ int xargs_main(int argc UNUSED_PARAM, char **argv)
}
/* Sanity check */
if (n_max_chars <= 0) {
- bb_error_msg_and_die("can't fit single argument within argument list size limit");
+ bb_simple_error_msg_and_die("can't fit single argument within argument list size limit");
}
buf = xzalloc(n_max_chars + 1);
@@ -716,7 +716,7 @@ int xargs_main(int argc UNUSED_PARAM, char **argv)
if (!G.args[initial_idx]) { /* not even one ARG was added? */
if (*rem != '\0')
- bb_error_msg_and_die("argument line too long");
+ bb_simple_error_msg_and_die("argument line too long");
if (opt & OPT_NO_EMPTY)
break;
}