diff options
author | gad <gad@FreeBSD.org> | 2000-11-14 22:03:59 +0000 |
---|---|---|
committer | gad <gad@FreeBSD.org> | 2000-11-14 22:03:59 +0000 |
commit | 2d8684a1c5ecbdcec085c1a80bd41895fbaf7a53 (patch) | |
tree | 57ed77790eed0df3745c57a44df20d0c4e2ad116 | |
parent | 4614ebebe63809cfba3eaa9957a1cadb1a7f022a (diff) | |
download | FreeBSD-src-2d8684a1c5ecbdcec085c1a80bd41895fbaf7a53.zip FreeBSD-src-2d8684a1c5ecbdcec085c1a80bd41895fbaf7a53.tar.gz |
Fix (style) some variable initializations.
-rw-r--r-- | usr.sbin/lpr/lpd/printjob.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/usr.sbin/lpr/lpd/printjob.c b/usr.sbin/lpr/lpd/printjob.c index bf9d918..03600f9 100644 --- a/usr.sbin/lpr/lpd/printjob.c +++ b/usr.sbin/lpr/lpd/printjob.c @@ -354,10 +354,11 @@ printit(pp, file) char *file; { register int i; - char *cp; - int bombed = OK; - int didignorehdr = 0; + char *cp; + int bombed, didignorehdr; + bombed = OK; + didignorehdr = 0; /* * open control file; ignore if no longer there. */ @@ -593,7 +594,7 @@ print(pp, format, file) int fi, fo; FILE *fp; char *av[15], buf[BUFSIZ]; - int pid, p[2], stopped = 0; + int pid, p[2], stopped; union wait status; struct stat stb; @@ -612,6 +613,7 @@ print(pp, format, file) return(ACCESS); job_dfcnt++; /* increment datafile counter for this job */ + stopped = 0; /* output filter is not stopped */ /* everything seems OK, start it up */ if (!pp->no_formfeed && !pp->tof) { /* start on a fresh page */ |