diff options
author | Peter Valchev <pvalchev@cvs.openbsd.org> | 2003-04-17 07:37:05 +0000 |
---|---|---|
committer | Peter Valchev <pvalchev@cvs.openbsd.org> | 2003-04-17 07:37:05 +0000 |
commit | 0d824afc4fb7b73ef4ea5a3673b5807ecebe769d (patch) | |
tree | 4a01141cc6b66a1a3783b99eb9e467ed838b8b20 /usr.bin | |
parent | 86440b250b5f8f21d0e803017969624f017f9c6f (diff) |
%u is 11 chars, not 10; ok miod deraadt millert tedu
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/chpass/pw_yp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/chpass/pw_yp.c b/usr.bin/chpass/pw_yp.c index 27c4f6a02cf..b12b6f74b61 100644 --- a/usr.bin/chpass/pw_yp.c +++ b/usr.bin/chpass/pw_yp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pw_yp.c,v 1.16 2002/06/27 19:02:40 deraadt Exp $ */ +/* $OpenBSD: pw_yp.c,v 1.17 2003/04/17 07:37:04 pvalchev Exp $ */ /* $NetBSD: pw_yp.c,v 1.5 1995/03/26 04:55:33 glass Exp $ */ /* @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)pw_yp.c 1.0 2/2/93"; #else -static char rcsid[] = "$OpenBSD: pw_yp.c,v 1.16 2002/06/27 19:02:40 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: pw_yp.c,v 1.17 2003/04/17 07:37:04 pvalchev Exp $"; #endif #endif /* not lint */ @@ -66,7 +66,7 @@ static char *domain; int pw_yp(struct passwd *pw, uid_t uid) { - char buf[10], *master, *p; + char buf[11], *master, *p; int r, rpcport, status, alen; struct yppasswd yppasswd; struct timeval tv; |