Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/login skey_keyinfo() returns const.



details:   https://anonhg.NetBSD.org/src/rev/a37dca1562ba
branches:  trunk
changeset: 495461:a37dca1562ba
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri Jul 28 16:36:53 2000 +0000

description:
skey_keyinfo() returns const.

diffstat:

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

diffs (27 lines):

diff -r bf2700fb0244 -r a37dca1562ba usr.bin/login/login.c
--- a/usr.bin/login/login.c     Fri Jul 28 16:35:11 2000 +0000
+++ b/usr.bin/login/login.c     Fri Jul 28 16:36:53 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: login.c,v 1.58 2000/06/02 03:01:22 aidan Exp $       */
+/*     $NetBSD: login.c,v 1.59 2000/07/28 16:36:53 thorpej Exp $       */
 
 /*-
  * Copyright (c) 1980, 1987, 1988, 1991, 1993, 1994
@@ -44,7 +44,7 @@
 #if 0
 static char sccsid[] = "@(#)login.c    8.4 (Berkeley) 4/2/94";
 #endif
-__RCSID("$NetBSD: login.c,v 1.58 2000/06/02 03:01:22 aidan Exp $");
+__RCSID("$NetBSD: login.c,v 1.59 2000/07/28 16:36:53 thorpej Exp $");
 #endif /* not lint */
 
 /*
@@ -379,7 +379,7 @@
 #ifdef SKEY
                if (skey_haskey(username) == 0) {
                        static char skprompt[80];
-                       char *skinfo = skey_keyinfo(username);
+                       const char *skinfo = skey_keyinfo(username);
                                
                        (void)snprintf(skprompt, sizeof(skprompt)-1,
                            "Password [%s]:",



Home | Main Index | Thread Index | Old Index