summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDenis Vlasenko2006-10-03 21:00:43 +0000
committerDenis Vlasenko2006-10-03 21:00:43 +0000
commit8f8f268cfdecb4cabeb2e649a73afc7a485aeff5 (patch)
tree8c555cc94aca9fabd177526e554d93bed4886642 /shell
parent67b23e6043d8e2b30b0bf3bc105b8583c2a26db5 (diff)
downloadbusybox-8f8f268cfdecb4cabeb2e649a73afc7a485aeff5.zip
busybox-8f8f268cfdecb4cabeb2e649a73afc7a485aeff5.tar.gz
bb_applet_name -> applet_name
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c4
-rw-r--r--shell/cmdedit.c2
-rw-r--r--shell/lash.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 7d4da43..0d9fa7f 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -3753,7 +3753,7 @@ tryexec(char *cmd, char **argv, char **envp)
while (*c != NULL) {
c++; argc++;
}
- bb_applet_name = cmd;
+ applet_name = cmd;
exit(a->main(argc, argv));
}
#ifdef CONFIG_FEATURE_SH_STANDALONE_SHELL
@@ -13658,7 +13658,7 @@ static arith_t arith (const char *expr, int *perrcode)
#ifdef DEBUG
-const char *bb_applet_name = "debug stuff usage";
+const char *applet_name = "debug stuff usage";
int main(int argc, char **argv)
{
return ash_main(argc, argv);
diff --git a/shell/cmdedit.c b/shell/cmdedit.c
index 9a57f75..a9fc847 100644
--- a/shell/cmdedit.c
+++ b/shell/cmdedit.c
@@ -1892,7 +1892,7 @@ rewrite_line:
#ifdef TEST
-const char *bb_applet_name = "debug stuff usage";
+const char *applet_name = "debug stuff usage";
#ifdef CONFIG_FEATURE_NONPRINTABLE_INVERSE_PUT
#include <locale.h>
diff --git a/shell/lash.c b/shell/lash.c
index 9c862a1..c499612 100644
--- a/shell/lash.c
+++ b/shell/lash.c
@@ -1145,7 +1145,7 @@ static int pseudo_exec(struct child_prog *child)
/* Check if the command matches any of the forking builtins. */
for (x = bltins_forking; x->cmd; x++) {
if (strcmp(child->argv[0], x->cmd) == 0) {
- bb_applet_name=x->cmd;
+ applet_name=x->cmd;
_exit (x->function(child));
}
}