summaryrefslogtreecommitdiff
path: root/findutils
diff options
context:
space:
mode:
authorDenis Vlasenko2006-10-03 21:00:43 +0000
committerDenis Vlasenko2006-10-03 21:00:43 +0000
commit8f8f268cfdecb4cabeb2e649a73afc7a485aeff5 (patch)
tree8c555cc94aca9fabd177526e554d93bed4886642 /findutils
parent67b23e6043d8e2b30b0bf3bc105b8583c2a26db5 (diff)
downloadbusybox-8f8f268cfdecb4cabeb2e649a73afc7a485aeff5.zip
busybox-8f8f268cfdecb4cabeb2e649a73afc7a485aeff5.tar.gz
bb_applet_name -> applet_name
Diffstat (limited to 'findutils')
-rw-r--r--findutils/grep.c4
-rw-r--r--findutils/xargs.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/findutils/grep.c b/findutils/grep.c
index 35e6aff..ce975e7 100644
--- a/findutils/grep.c
+++ b/findutils/grep.c
@@ -356,14 +356,14 @@ int grep_main(int argc, char **argv)
if (opt & GREP_OPT_f)
load_regexes_from_file(fopt);
- if (ENABLE_FEATURE_GREP_FGREP_ALIAS && bb_applet_name[0] == 'f')
+ if (ENABLE_FEATURE_GREP_FGREP_ALIAS && applet_name[0] == 'f')
opt |= GREP_OPT_F;
if (!(opt & GREP_OPT_o))
reflags = REG_NOSUB;
if (ENABLE_FEATURE_GREP_EGREP_ALIAS &&
- (bb_applet_name[0] == 'e' || (opt & GREP_OPT_E)))
+ (applet_name[0] == 'e' || (opt & GREP_OPT_E)))
reflags |= REG_EXTENDED;
if (opt & GREP_OPT_i)
diff --git a/findutils/xargs.c b/findutils/xargs.c
index 2783823..81997b6 100644
--- a/findutils/xargs.c
+++ b/findutils/xargs.c
@@ -523,12 +523,12 @@ int xargs_main(int argc, char **argv)
#ifdef TEST
-const char *bb_applet_name = "debug stuff usage";
+const char *applet_name = "debug stuff usage";
void bb_show_usage(void)
{
fprintf(stderr, "Usage: %s [-p] [-r] [-t] -[x] [-n max_arg] [-s max_chars]\n",
- bb_applet_name);
+ applet_name);
exit(1);
}