Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-6]: src/usr.bin/login Pull up the following revisions(s) (request...



details:   https://anonhg.NetBSD.org/src/rev/285491df29bf
branches:  netbsd-6
changeset: 774071:285491df29bf
user:      sborrill <sborrill%NetBSD.org@localhost>
date:      Tue May 08 13:38:13 2012 +0000

description:
Pull up the following revisions(s) (requested by martin in ticket #215):
        usr.bin/login/login_pam.c:      revision 1.22

Fix build.
trimusername (which does not exist) should be trimloginname.

diffstat:

 usr.bin/login/login_pam.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 73acc4fe4c36 -r 285491df29bf usr.bin/login/login_pam.c
--- a/usr.bin/login/login_pam.c Mon May 07 17:07:00 2012 +0000
+++ b/usr.bin/login/login_pam.c Tue May 08 13:38:13 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: login_pam.c,v 1.20.8.1 2012/05/07 16:24:07 riz Exp $       */
+/*     $NetBSD: login_pam.c,v 1.20.8.2 2012/05/08 13:38:13 sborrill Exp $       */
 
 /*-
  * Copyright (c) 1980, 1987, 1988, 1991, 1993, 1994
@@ -39,7 +39,7 @@
 #if 0
 static char sccsid[] = "@(#)login.c    8.4 (Berkeley) 4/2/94";
 #endif
-__RCSID("$NetBSD: login_pam.c,v 1.20.8.1 2012/05/07 16:24:07 riz Exp $");
+__RCSID("$NetBSD: login_pam.c,v 1.20.8.2 2012/05/08 13:38:13 sborrill Exp $");
 #endif /* not lint */
 
 /*
@@ -240,7 +240,7 @@
        for (cnt = 0;; ask = 1) {
                if (ask) {
                        fflag = 0;
-                       username = trimusername(getloginname());
+                       username = trimloginname(getloginname());
                }
                rootlogin = 0;
                auth_passed = 0;



Home | Main Index | Thread Index | Old Index