Revamp of the Halibut error handling mechanism.
[sgt/halibut] / bk_ps.c
diff --git a/bk_ps.c b/bk_ps.c
index 95c0451..9b4cda6 100644 (file)
--- a/bk_ps.c
+++ b/bk_ps.c
@@ -53,7 +53,7 @@ void ps_backend(paragraph *sourceform, keywordlist *keywords,
     else
        fp = fopen(filename, "w");
     if (!fp) {
-       error(err_cantopenw, filename);
+       err_cantopenw(filename);
        return;
     }