diff options
author | vapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-07-01 01:04:32 +0000 |
---|---|---|
committer | vapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-07-01 01:04:32 +0000 |
commit | ce7992948b559cbc4ac9d815adbeb3b53c4f27a2 (patch) | |
tree | 132237fb52e98c8d72570d7ee2728f3e299383de /loginutils/su.c | |
parent | ac6d18e54ca537f9a26e5ca65e1b1c0faf88d7ad (diff) | |
download | busybox-w32-ce7992948b559cbc4ac9d815adbeb3b53c4f27a2.tar.gz busybox-w32-ce7992948b559cbc4ac9d815adbeb3b53c4f27a2.tar.bz2 busybox-w32-ce7992948b559cbc4ac9d815adbeb3b53c4f27a2.zip |
Patch by jonlar in Bug 312 to split the U_W_TMP feature into sep UTMP and WTMP options
git-svn-id: svn://busybox.net/trunk/busybox@10679 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 ( ); |