summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/chpass/edit.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/chpass/edit.c b/usr.bin/chpass/edit.c
index 58606d9fe70..1c453e25e34 100644
--- a/usr.bin/chpass/edit.c
+++ b/usr.bin/chpass/edit.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: edit.c,v 1.28 2005/11/14 15:31:11 deraadt Exp $ */
+/* $OpenBSD: edit.c,v 1.29 2006/03/30 21:08:21 robert Exp $ */
/* $NetBSD: edit.c,v 1.6 1996/05/15 21:50:45 jtc Exp $ */
/*-
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)edit.c 8.3 (Berkeley) 4/2/94";
#else
-static char rcsid[] = "$OpenBSD: edit.c,v 1.28 2005/11/14 15:31:11 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: edit.c,v 1.29 2006/03/30 21:08:21 robert Exp $";
#endif
#endif /* not lint */
@@ -136,7 +136,8 @@ display(char *tempname, int fd, struct passwd *pw)
int
verify(char *tempname, struct passwd *pw)
{
- unsigned int alen, line;
+ unsigned int line;
+ size_t alen;
static char buf[LINE_MAX];
struct stat sb;
char *p, *q;