View | Details | Raw Unified | Return to bug 12912
Collapse All | Expand All

(-)/usr/src/usr.sbin/lpr/lpd/printjob.c (+4 lines)
Lines 311-316 Link Here
311
					     strlen(pp->trailer));
311
					     strlen(pp->trailer));
312
		}
312
		}
313
		(void) close(ofd);
313
		(void) close(ofd);
314
		if (fchmod(lfd, LOG_FILE_MODE) < 0)
315
			syslog(LOG_ERR, "%s: %s: %m", pp->printer,
316
			       pp->lock_file);
317
		(void) close(lfd);
314
		(void) wait(NULL);
318
		(void) wait(NULL);
315
		(void) unlink(tempfile);
319
		(void) unlink(tempfile);
316
		exit(0);
320
		exit(0);

Return to bug 12912