aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pwd_mkdb
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2023-12-20 21:41:38 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2023-12-20 21:42:42 +0000
commitfcaae06579bfedbaadddb98c34985168e32cbc8e (patch)
tree3080296d948d0952a201ecfe0366e2c5df6f6606 /usr.sbin/pwd_mkdb
parent87eea35e3f8bc559a5142d613826100b758c08fe (diff)
downloadsrc-fcaae06579bfedbaadddb98c34985168e32cbc8e.tar.gz
src-fcaae06579bfedbaadddb98c34985168e32cbc8e.zip
Diffstat (limited to 'usr.sbin/pwd_mkdb')
-rw-r--r--usr.sbin/pwd_mkdb/pwd_mkdb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pwd_mkdb/pwd_mkdb.c b/usr.sbin/pwd_mkdb/pwd_mkdb.c
index 6e3cc6cf9604..3c27b40044e3 100644
--- a/usr.sbin/pwd_mkdb/pwd_mkdb.c
+++ b/usr.sbin/pwd_mkdb/pwd_mkdb.c
@@ -94,10 +94,11 @@ main(int argc, char *argv[])
uint32_t store;
const char *t;
char *p;
- char buf[MAX(MAXPATHLEN, LINE_MAX * 2)], tbuf[1024];
+ char buf[MAX(MAXPATHLEN, LINE_MAX * 2)];
char sbuf[MAX(MAXPATHLEN, LINE_MAX * 2)];
char buf2[MAXPATHLEN];
char sbuf2[MAXPATHLEN];
+ char tbuf[1024];
char *username;
u_int method, methoduid;
int Cflag, dflag, iflag;