summaryrefslogtreecommitdiffstats
path: root/chpass/edit.c
diff options
context:
space:
mode:
Diffstat (limited to 'chpass/edit.c')
-rw-r--r--chpass/edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chpass/edit.c b/chpass/edit.c
index cf87fdf..40119f0 100644
--- a/chpass/edit.c
+++ b/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);