aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/chpass
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1996-11-15 17:36:20 +0000
committerPeter Wemm <peter@FreeBSD.org>1996-11-15 17:36:20 +0000
commit0587e3a417080e892460e2b00253976848884928 (patch)
treead70cfd69f1271d3374edb0f1498c201cafba262 /usr.bin/chpass
parent5fa39f9bde6834064a85943654bba80e5dd952a7 (diff)
Notes
Diffstat (limited to 'usr.bin/chpass')
-rw-r--r--usr.bin/chpass/edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/chpass/edit.c b/usr.bin/chpass/edit.c
index cf87fdf0992d..40119f03f0b9 100644
--- a/usr.bin/chpass/edit.c
+++ b/usr.bin/chpass/edit.c
@@ -174,7 +174,7 @@ verify(pw)
struct stat sb;
FILE *fp;
int len;
- char buf[LINE_MAX];
+ static char buf[LINE_MAX];
if (!(fp = fopen(tempname, "r")))
pw_error(tempname, 1, 1);