Mercurial > hg > dmlib
changeset 1274:1b1e7c771698
Clarify certain initialization failure situations.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 03 Oct 2016 09:19:40 +0300 |
parents | 132706e3b94b |
children | 42f5680f904d |
files | src/dmres.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dmres.c Mon Oct 03 09:06:01 2016 +0300 +++ b/src/dmres.c Mon Oct 03 09:19:40 2016 +0300 @@ -1085,7 +1085,7 @@ { // Non-fatal dmErrorDBGMsg( - "Failed to open PACK, falling back to STDIO, '%s' %d: %s\n", + "Failed to open PACK '%s' %d: %s\n", lib->packFilename, ret, dmErrorStr(ret)); } } @@ -1123,7 +1123,7 @@ #endif if (!initialized) - return DMERR_INIT_FAIL; + return dmErrorDBG(DMERR_INIT_FAIL, "Failed all resource initialization modes.\n"); // Okay, classify resources if (lib->resources != NULL && classifier != NULL)