diff options
author | Peter Valchev <pvalchev@cvs.openbsd.org> | 2003-04-26 18:28:26 +0000 |
---|---|---|
committer | Peter Valchev <pvalchev@cvs.openbsd.org> | 2003-04-26 18:28:26 +0000 |
commit | 8c652134c617bfff0d20bec0aed52aa35d3caf61 (patch) | |
tree | 2d266a9dfd20236b13fa73d5bfc03539ea1e4a36 /libexec | |
parent | eb14c741353403b46af217c6b8aa14575583193b (diff) |
%u expands to 11 chars; ok millert
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/rpc.yppasswdd/yppasswdd_mkpw.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/rpc.yppasswdd/yppasswdd_mkpw.c b/libexec/rpc.yppasswdd/yppasswdd_mkpw.c index 8bf9cd49e33..7e237fc2a33 100644 --- a/libexec/rpc.yppasswdd/yppasswdd_mkpw.c +++ b/libexec/rpc.yppasswdd/yppasswdd_mkpw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: yppasswdd_mkpw.c,v 1.23 2002/06/20 03:43:41 deraadt Exp $ */ +/* $OpenBSD: yppasswdd_mkpw.c,v 1.24 2003/04/26 18:28:25 pvalchev Exp $ */ /* * Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se> @@ -32,7 +32,7 @@ */ #ifndef LINT -static char rcsid[] = "$OpenBSD: yppasswdd_mkpw.c,v 1.23 2002/06/20 03:43:41 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: yppasswdd_mkpw.c,v 1.24 2003/04/26 18:28:25 pvalchev Exp $"; #endif #include <sys/param.h> @@ -113,7 +113,7 @@ make_passwd(yppasswd *argp) { struct passwd pw; int pfd = -1, tfd; - char buf[10], *bp = NULL, *p, *t; + char buf[11], *bp = NULL, *p, *t; int n; ssize_t cnt; size_t resid; |