diff options
Diffstat (limited to 'usr.sbin/lpr/lpq')
-rw-r--r-- | usr.sbin/lpr/lpq/lpq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/lpr/lpq/lpq.c b/usr.sbin/lpr/lpq/lpq.c index 96f5d8e..734750d 100644 --- a/usr.sbin/lpr/lpq/lpq.c +++ b/usr.sbin/lpr/lpq/lpq.c @@ -152,7 +152,7 @@ looperr: case PCAPERR_SUCCESS: break; default: - fatal(pp, pcaperr(status)); + fatal(pp, "%s", pcaperr(status)); } } while (more && status); } @@ -162,7 +162,7 @@ looperr: init_printer(pp); status = getprintcap(printer, pp); if (status < 0) - fatal(pp, pcaperr(status)); + fatal(pp, "%s", pcaperr(status)); displayq(pp, lflag); } |