Revamp of the Halibut error handling mechanism.
[sgt/halibut] / bk_pdf.c
index 5ebf67e..10b9fdd 100644 (file)
--- 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;
     }