summaryrefslogtreecommitdiff
path: root/apps/mupdfinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/mupdfinfo.c')
-rw-r--r--apps/mupdfinfo.c2
1 files changed, 1 insertions, 1 deletions
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();