diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-07-01 01:04:32 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-07-01 01:04:32 +0000 |
commit | 8deb686d2e07ab812887a1a43a00ce5035c2b590 (patch) | |
tree | 132237fb52e98c8d72570d7ee2728f3e299383de /loginutils/su.c | |
parent | a87bb6080925177b0c09416a6b4e213bd9450042 (diff) | |
download | busybox-w32-8deb686d2e07ab812887a1a43a00ce5035c2b590.tar.gz busybox-w32-8deb686d2e07ab812887a1a43a00ce5035c2b590.tar.bz2 busybox-w32-8deb686d2e07ab812887a1a43a00ce5035c2b590.zip |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loginutils/su.c b/loginutils/su.c index 5f6140917..3e82d2428 100644 --- a/loginutils/su.c +++ b/loginutils/su.c | |||
@@ -91,7 +91,7 @@ int su_main ( int argc, char **argv ) | |||
91 | opt_args = argv + optind; | 91 | opt_args = argv + optind; |
92 | 92 | ||
93 | #if defined( SYSLOG_SUCCESS ) || defined( SYSLOG_FAILURE ) | 93 | #if defined( SYSLOG_SUCCESS ) || defined( SYSLOG_FAILURE ) |
94 | #ifdef CONFIG_FEATURE_U_W_TMP | 94 | #ifdef CONFIG_FEATURE_UTMP |
95 | /* The utmp entry (via getlogin) is probably the best way to identify | 95 | /* The utmp entry (via getlogin) is probably the best way to identify |
96 | the user, especially if someone su's from a su-shell. */ | 96 | the user, especially if someone su's from a su-shell. */ |
97 | old_user = getlogin ( ); | 97 | old_user = getlogin ( ); |