Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/login trimusername (which does not exist) probably w...



details:   https://anonhg.NetBSD.org/src/rev/1a56d14ff01d
branches:  trunk
changeset: 778972:1a56d14ff01d
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Apr 23 09:27:36 2012 +0000

description:
trimusername (which does not exist) probably was meant to be called
trimloginname (which does exist, at least)

diffstat:

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

diffs (27 lines):

diff -r fa1ac77e75ba -r 1a56d14ff01d usr.bin/login/login_pam.c
--- a/usr.bin/login/login_pam.c Mon Apr 23 05:31:31 2012 +0000
+++ b/usr.bin/login/login_pam.c Mon Apr 23 09:27:36 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: login_pam.c,v 1.21 2012/04/22 23:26:19 christos Exp $       */
+/*     $NetBSD: login_pam.c,v 1.22 2012/04/23 09:27:36 martin 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.21 2012/04/22 23:26:19 christos Exp $");
+__RCSID("$NetBSD: login_pam.c,v 1.22 2012/04/23 09:27:36 martin 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