bb_applet_name -> applet_name
diff --git a/loginutils/deluser.c b/loginutils/deluser.c
index 0cd4671..f432068 100644
--- a/loginutils/deluser.c
+++ b/loginutils/deluser.c
@@ -81,7 +81,7 @@
if (argc != 2) {
bb_show_usage();
} else {
- if (ENABLE_DELUSER && bb_applet_name[3] == 'u') {
+ if (ENABLE_DELUSER && applet_name[3] == 'u') {
del_line_matching(argv[1], bb_path_passwd_file);
if (ENABLE_FEATURE_SHADOWPASSWDS)
del_line_matching(argv[1], bb_path_shadow_file);
diff --git a/loginutils/getty.c b/loginutils/getty.c
index 6730fa8..4b43684 100644
--- a/loginutils/getty.c
+++ b/loginutils/getty.c
@@ -821,7 +821,7 @@
dup2(nullfd, 2);
if(nullfd > 2)
close(nullfd);
- openlog(bb_applet_name, LOG_PID, LOG_AUTH);
+ openlog(applet_name, LOG_PID, LOG_AUTH);
logmode = LOGMODE_BOTH;
#ifdef DEBUGGING
diff --git a/loginutils/login.c b/loginutils/login.c
index 1f392c1..8003922 100644
--- a/loginutils/login.c
+++ b/loginutils/login.c
@@ -268,7 +268,7 @@
bb_setpgrp;
- openlog(bb_applet_name, LOG_PID | LOG_CONS | LOG_NOWAIT, LOG_AUTH);
+ openlog(applet_name, LOG_PID | LOG_CONS | LOG_NOWAIT, LOG_AUTH);
while (1) {
if (!username[0])
diff --git a/loginutils/su.c b/loginutils/su.c
index 7894201..a23ee93 100644
--- a/loginutils/su.c
+++ b/loginutils/su.c
@@ -41,7 +41,7 @@
in this case resort to getpwuid. */
old_user = xstrdup(USE_FEATURE_UTMP(getlogin() ? : ) (pw = getpwuid(cur_uid)) ? pw->pw_name : "");
tty = ttyname(2) ? : "none";
- openlog(bb_applet_name, 0, LOG_AUTH);
+ openlog(applet_name, 0, LOG_AUTH);
}
pw = getpwnam(opt_username);
diff --git a/loginutils/sulogin.c b/loginutils/sulogin.c
index 6edd258..40eb5e9 100644
--- a/loginutils/sulogin.c
+++ b/loginutils/sulogin.c
@@ -44,7 +44,7 @@
struct spwd *spwd;
logmode = LOGMODE_BOTH;
- openlog(bb_applet_name, 0, LOG_AUTH);
+ openlog(applet_name, 0, LOG_AUTH);
if (getopt32 (argc, argv, "t:", &timeout_arg)) {
if (safe_strtoi(timeout_arg, &timeout)) {