summaryrefslogtreecommitdiff
path: root/bk_pdf.c
diff options
context:
space:
mode:
Diffstat (limited to 'bk_pdf.c')
-rw-r--r--bk_pdf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bk_pdf.c b/bk_pdf.c
index 5ebf67e..10b9fdd 100644
--- a/bk_pdf.c
+++ b/bk_pdf.c
@@ -670,7 +670,7 @@ void pdf_backend(paragraph *sourceform, keywordlist *keywords,
else
fp = fopen(filename, "wb");
if (!fp) {
- error(err_cantopenw, filename);
+ err_cantopenw(filename);
return;
}