]> git.imager.perl.org - imager.git/blobdiff - error.c
0.61 release
[imager.git] / error.c
diff --git a/error.c b/error.c
index 3dcab3cd1a9f5e0a1f544ecc1eb011881860e475..10c311955e5262dcefb919dc8ecdb3e9d0294705 100644 (file)
--- a/error.c
+++ b/error.c
@@ -321,7 +321,7 @@ int i_failed(int code, char const *msg) {
       ++sp;
     }
     /* we want to log the error too, build an error message to hand to
-       m_fatal() */
+       i_fatal() */
     total = 1; /* remember the NUL */
     for (sp = error_sp; error_stack[sp].msg; ++sp) {
       total += strlen(error_stack[sp].msg) + 2;
@@ -338,7 +338,7 @@ int i_failed(int code, char const *msg) {
     }
     /* lose the extra ": " */
     full[strlen(full)-2] = '\0';
-    m_fatal(EXIT_FAILURE, "%s", full);
+    i_fatal(EXIT_FAILURE, "%s", full);
   }
 
   return 0;