Changed error code of libisofs/util.h from -1 to ISO_OUT_OF_MEM

This commit is contained in:
Thomas Schmitt 2011-06-10 14:55:34 +02:00
parent d932bfcdea
commit 062e5f0bf0
1 changed files with 1 additions and 1 deletions

View File

@ -544,7 +544,7 @@ void *iso_alloc_mem(size_t size, size_t count, int flag);
#define LIBISO_ALLOC_MEM(pt, typ, count) { \
pt= (typ *) iso_alloc_mem(sizeof(typ), (size_t) (count), 0); \
if(pt == NULL) { \
ret= -1; goto ex; \
ret= ISO_OUT_OF_MEM; goto ex; \
} }
#define LIBISO_FREE_MEM(pt) { \