diff --git a/usr.sbin/lpr/lpd/printjob.c b/usr.sbin/lpr/lpd/printjob.c index 4883264e9877..3ac859e31a78 100644 --- a/usr.sbin/lpr/lpd/printjob.c +++ b/usr.sbin/lpr/lpd/printjob.c @@ -514,7 +514,6 @@ printit(struct printer *pp, char *file) case 'Z': /* locale for pr */ strlcpy(locale, line + 1, sizeof(locale)); - locale[sizeof(locale) - 1] = '\0'; continue; default: /* some file to print */