From 062e5f0bf05d2a5329e5603cbfc6b9574c3eae01 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Fri, 10 Jun 2011 14:55:34 +0200 Subject: [PATCH] Changed error code of libisofs/util.h from -1 to ISO_OUT_OF_MEM --- libisofs/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libisofs/util.h b/libisofs/util.h index d3062fe..7afc632 100644 --- a/libisofs/util.h +++ b/libisofs/util.h @@ -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) { \