summaryrefslogtreecommitdiff
path: root/loginutils/su.c
diff options
context:
space:
mode:
authorMike Frysinger2005-07-01 01:04:32 +0000
committerMike Frysinger2005-07-01 01:04:32 +0000
commit8deb686d2e07ab812887a1a43a00ce5035c2b590 (patch)
tree132237fb52e98c8d72570d7ee2728f3e299383de /loginutils/su.c
parenta87bb6080925177b0c09416a6b4e213bd9450042 (diff)
downloadbusybox-8deb686d2e07ab812887a1a43a00ce5035c2b590.zip
busybox-8deb686d2e07ab812887a1a43a00ce5035c2b590.tar.gz
Patch by jonlar in Bug 312 to split the U_W_TMP feature into sep UTMP and WTMP options
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 5f61409..3e82d24 100644
--- a/loginutils/su.c
+++ b/loginutils/su.c
@@ -91,7 +91,7 @@ int su_main ( int argc, char **argv )
opt_args = argv + optind;
#if defined( SYSLOG_SUCCESS ) || defined( SYSLOG_FAILURE )
-#ifdef CONFIG_FEATURE_U_W_TMP
+#ifdef CONFIG_FEATURE_UTMP
/* The utmp entry (via getlogin) is probably the best way to identify
the user, especially if someone su's from a su-shell. */
old_user = getlogin ( );