diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-02-14 03:27:16 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-02-14 03:27:16 +0000 |
commit | e55e0ca8cbc6568979d2dae9476e964fefed4864 (patch) | |
tree | f9bb8843c864623b0fd1af320d18003bf9bcd736 /usr.sbin/sliplogin | |
parent | 2c939f4bf1b38c758907c893a4a0d2ae9384a962 (diff) |
fat utmp; ianm@cit.uws.edu.au
Diffstat (limited to 'usr.sbin/sliplogin')
-rw-r--r-- | usr.sbin/sliplogin/sliplogin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sliplogin/sliplogin.c b/usr.sbin/sliplogin/sliplogin.c index 8ea9f33a60d..dc2f58bc69a 100644 --- a/usr.sbin/sliplogin/sliplogin.c +++ b/usr.sbin/sliplogin/sliplogin.c @@ -39,7 +39,7 @@ char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)sliplogin.c 5.6 (Berkeley) 3/2/91";*/ -static char rcsid[] = "$Id: sliplogin.c,v 1.11 1999/08/06 20:41:08 deraadt Exp $"; +static char rcsid[] = "$Id: sliplogin.c,v 1.12 2001/02/14 03:27:15 deraadt Exp $"; #endif /* not lint */ /* @@ -118,7 +118,7 @@ findid(name) static char laddr[16]; static char raddr[16]; static char mask[16]; - char user[16], *p; + char user[MAXLOGNAME], *p; int i, j, n; (void)strncpy(loginname, name, sizeof loginname-1); |