diff --git a/usr.sbin/lpr/common_source/rmjob.c b/usr.sbin/lpr/common_source/rmjob.c index c65cf220dab8..44503685ffb4 100644 --- a/usr.sbin/lpr/common_source/rmjob.c +++ b/usr.sbin/lpr/common_source/rmjob.c @@ -69,7 +69,7 @@ static const char rcsid[] = static char root[] = "root"; static int all = 0; /* eliminate all files (root only) */ static int cur_daemon; /* daemon's pid */ -static char current[40]; /* active control file name */ +static char current[7+MAXHOSTNAMELEN]; /* active control file name */ extern uid_t uid, euid; /* real and effective user id's */