diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-02-15 05:20:36 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-02-15 05:20:36 +0000 |
commit | 39b554e904fe7ef4e1cc8dd8c8860414ad620b4a (patch) | |
tree | e62cedf7076202e83cb9ba95c7dfc7c5099161a1 /usr.sbin/lpr/lpd | |
parent | b236ca79740ef4f14d615b1ad9e7b28fc73b0cdc (diff) |
MAXLOGNAME; ianm@cit.uws.edu.au
Diffstat (limited to 'usr.sbin/lpr/lpd')
-rw-r--r-- | usr.sbin/lpr/lpd/printjob.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/lpr/lpd/printjob.c b/usr.sbin/lpr/lpd/printjob.c index e83e403e68f..b2fd1fef27d 100644 --- a/usr.sbin/lpr/lpd/printjob.c +++ b/usr.sbin/lpr/lpd/printjob.c @@ -1,4 +1,4 @@ -/* $OpenBSD: printjob.c,v 1.20 2000/06/28 23:52:36 deraadt Exp $ */ +/* $OpenBSD: printjob.c,v 1.21 2001/02/15 05:20:35 deraadt Exp $ */ /* $NetBSD: printjob.c,v 1.9.4.3 1996/07/12 22:31:39 jtc Exp $ */ /* @@ -108,7 +108,7 @@ static char fromhost[32]; /* user's host machine */ static char indent[10] = "-i0"; static char jobname[100]; /* job or file name */ static char length[10] = "-l"; /* page length in lines */ -static char logname[32]; /* user's login name */ +static char logname[MAXLOGNAME]; /* user's login name */ static char pxlength[10] = "-y"; /* page length in pixels */ static char pxwidth[10] = "-x"; /* page width in pixels */ static char tempfile[] = "errsXXXXXXXXXX"; /* file name for filter output */ |