summaryrefslogtreecommitdiff
path: root/applets/applets.c
diff options
context:
space:
mode:
Diffstat (limited to 'applets/applets.c')
-rw-r--r--applets/applets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/applets/applets.c b/applets/applets.c
index d5b2672..d615ffc 100644
--- a/applets/applets.c
+++ b/applets/applets.c
@@ -469,7 +469,7 @@ void run_applet_by_name(const char *name, int argc, char **argv)
/* Do a binary search to find the applet entry given the name. */
applet_using = find_applet_by_name(name);
if (applet_using) {
- bb_applet_name = applet_using->name;
+ applet_name = applet_using->name;
if(argc==2 && !strcmp(argv[1], "--help")) bb_show_usage();
if(ENABLE_FEATURE_SUID) check_suid(applet_using);
exit((*(applet_using->main))(argc, argv));