diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/mupdfclean.c | 2 | ||||
-rw-r--r-- | apps/mupdfextract.c | 2 | ||||
-rw-r--r-- | apps/mupdfinfo.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/mupdfclean.c b/apps/mupdfclean.c index f47ea2b5..c8a81274 100644 --- a/apps/mupdfclean.c +++ b/apps/mupdfclean.c @@ -792,7 +792,7 @@ int main(int argc, char **argv) xref = pdf_open_document(ctx, infile); if (pdf_needs_password(xref)) if (!pdf_authenticate_password(xref, password)) - fz_throw(ctx, "cannot authenticate password: %s\n", infile); + fz_throw(ctx, "cannot authenticate password: %s", infile); out = fopen(outfile, "wb"); if (!out) diff --git a/apps/mupdfextract.c b/apps/mupdfextract.c index dd3066f5..88a3630d 100644 --- a/apps/mupdfextract.c +++ b/apps/mupdfextract.c @@ -195,7 +195,7 @@ int main(int argc, char **argv) doc = pdf_open_document(ctx, infile); if (pdf_needs_password(doc)) if (!pdf_authenticate_password(doc, password)) - fz_throw(ctx, "cannot authenticate password: %s\n", infile); + fz_throw(ctx, "cannot authenticate password: %s", infile); if (fz_optind == argc) { diff --git a/apps/mupdfinfo.c b/apps/mupdfinfo.c index 90316d6f..161a80f1 100644 --- a/apps/mupdfinfo.c +++ b/apps/mupdfinfo.c @@ -996,7 +996,7 @@ int main(int argc, char **argv) xref = pdf_open_document(ctx, filename); if (pdf_needs_password(xref)) if (!pdf_authenticate_password(xref, password)) - fz_throw(ctx, "cannot authenticate password: %s\n", filename); + fz_throw(ctx, "cannot authenticate password: %s", filename); pagecount = pdf_count_pages(xref); showglobalinfo(); |