diff src/dmpack.c @ 1119:007a9446256c

Enable some error messages also in not-debug-build.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 04 Mar 2015 03:46:23 +0200
parents 5a8d29b88431
children 848a88ce7a57
line wrap: on
line diff
--- a/src/dmpack.c	Wed Mar 04 03:33:25 2015 +0200
+++ b/src/dmpack.c	Wed Mar 04 03:46:23 2015 +0200
@@ -87,7 +87,7 @@
     // Open the file
     if ((pack->file = fopen(filename, readOnly ? "rb" : "r+b")) == NULL)
     {
-        ret = dmErrorDBG(dmGetErrno(),
+        ret = dmError(dmGetErrno(),
             "Failed to open PACK file '%s'.\n",
             filename);
         goto out;