Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/lock Just another skey compile fix.



details:   https://anonhg.NetBSD.org/src/rev/e0aa7e236f05
branches:  trunk
changeset: 495481:e0aa7e236f05
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Jul 29 08:40:38 2000 +0000

description:
Just another skey compile fix.

diffstat:

 usr.bin/lock/lock.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r b2bde4b2987a -r e0aa7e236f05 usr.bin/lock/lock.c
--- a/usr.bin/lock/lock.c       Sat Jul 29 08:21:43 2000 +0000
+++ b/usr.bin/lock/lock.c       Sat Jul 29 08:40:38 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lock.c,v 1.18 2000/04/14 06:11:08 simonb Exp $ */
+/*     $NetBSD: lock.c,v 1.19 2000/07/29 08:40:38 martin Exp $ */
 
 /*
  * Copyright (c) 1980, 1987, 1993
@@ -46,7 +46,7 @@
 #if 0
 static char sccsid[] = "@(#)lock.c     8.1 (Berkeley) 6/6/93";
 #endif
-__RCSID("$NetBSD: lock.c,v 1.18 2000/04/14 06:11:08 simonb Exp $");
+__RCSID("$NetBSD: lock.c,v 1.19 2000/07/29 08:40:38 martin Exp $");
 #endif /* not lint */
 
 /*
@@ -242,7 +242,8 @@
 skey_auth(user)
        const char *user;
 {
-       char s[128], *ask;
+       char s[128];
+       const char *ask;
        int ret = 0;
 
        if (!skey_haskey(user) && (ask = skey_keyinfo(user))) {



Home | Main Index | Thread Index | Old Index