summaryrefslogtreecommitdiff
path: root/login.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-05-31 13:57:18 +1000
committerDamien Miller <djm@mindrot.org>2000-05-31 13:57:18 +1000
commit1c77392bce06d3f354fe1a3efa4e336c68933807 (patch)
tree8dc7ee3a8a0ea73552c1b752528111b45fbef4cd /login.c
parent1ea8ac7b90c2002ee6041fb90e1f94c7f8a94608 (diff)
- Rewrote bsd-login to use proper utmp API if available. Major cleanupPRE_NEW_LOGIN_CODE
of fallback DIY code.
Diffstat (limited to 'login.c')
-rw-r--r--login.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/login.c b/login.c
index 6fdc71e6..09e73b3d 100644
--- a/login.c
+++ b/login.c
@@ -18,7 +18,7 @@
*/
#include "includes.h"
-RCSID("$Id: login.c,v 1.29 2000/05/31 01:20:12 damien Exp $");
+RCSID("$Id: login.c,v 1.30 2000/05/31 03:57:19 damien Exp $");
#if defined(HAVE_UTMPX_H) && defined(USE_UTMPX)
# include <utmpx.h>
@@ -253,7 +253,7 @@ record_login(pid_t pid, const char *ttyname, const char *user, uid_t uid,
#endif /* defined(HAVE_UTMPX_H) && defined(USE_UTMPX) */
#if defined(HAVE_UTMPX_H) && defined(USE_UTMPX)
- login(&u, &utx);
+ login(&utx);
#else /* defined(HAVE_UTMPX_H) && defined(USE_UTMPX) */
login(&u);
#endif /* defined(HAVE_UTMPX_H) && defined(USE_UTMPX) */