From d8cf793135eac928e653eb5178894a611aa27837 Mon Sep 17 00:00:00 2001 From: vda Date: Tue, 3 Oct 2006 21:00:43 +0000 Subject: bb_applet_name -> applet_name git-svn-id: svn://busybox.net/trunk/busybox@16306 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- shell/ash.c | 4 ++-- shell/cmdedit.c | 2 +- shell/lash.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'shell') diff --git a/shell/ash.c b/shell/ash.c index 7d4da434e..0d9fa7fe2 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 9a57f750e..a9fc84798 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 diff --git a/shell/lash.c b/shell/lash.c index 9c862a17f..c499612cc 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)); } } -- cgit v1.2.3-55-g6feb