summaryrefslogtreecommitdiff
path: root/usr.sbin/sliplogin/sliplogin.c
diff options
context:
space:
mode:
authorPeter Valchev <pvalchev@cvs.openbsd.org>2001-07-27 20:34:37 +0000
committerPeter Valchev <pvalchev@cvs.openbsd.org>2001-07-27 20:34:37 +0000
commit078253af8b9273a3cd3303ffa535f76e3260ac17 (patch)
tree5411e5337586aceb81ad2f64e4b31ea0f65e0c53 /usr.sbin/sliplogin/sliplogin.c
parent8303d75019d73ec9a16cd4b93b922fc1d9859743 (diff)
Wall cleanup
Diffstat (limited to 'usr.sbin/sliplogin/sliplogin.c')
-rw-r--r--usr.sbin/sliplogin/sliplogin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sliplogin/sliplogin.c b/usr.sbin/sliplogin/sliplogin.c
index 1bcfb2d3da9..69af6fbf095 100644
--- a/usr.sbin/sliplogin/sliplogin.c
+++ b/usr.sbin/sliplogin/sliplogin.c
@@ -39,7 +39,7 @@ char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)sliplogin.c 5.6 (Berkeley) 3/2/91";*/
-static char rcsid[] = "$Id: sliplogin.c,v 1.13 2001/06/15 17:43:46 mickey Exp $";
+static char rcsid[] = "$Id: sliplogin.c,v 1.14 2001/07/27 20:34:36 pvalchev Exp $";
#endif /* not lint */
/*
@@ -119,7 +119,7 @@ findid(name)
static char raddr[16];
static char mask[16];
char user[MAXLOGNAME], *p;
- int i, j, n;
+ int n;
strlcpy(loginname, name, sizeof loginname);
if ((fp = fopen(_PATH_ACCESS, "r")) == NULL) {