aboutsummaryrefslogtreecommitdiff
path: root/loginutils/su.c
diff options
context:
space:
mode:
Diffstat (limited to 'loginutils/su.c')
-rw-r--r--loginutils/su.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loginutils/su.c b/loginutils/su.c
index 78942014e..a23ee932b 100644
--- a/loginutils/su.c
+++ b/loginutils/su.c
@@ -41,7 +41,7 @@ int su_main(int argc, char **argv)
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);