From: Martin Mares Date: Fri, 18 Oct 2013 14:39:55 +0000 (+0200) Subject: Fixed note about res_alloc() with no resource pool active X-Git-Tag: v5.99~71 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=3bf739559578b42ef385479feb602b2dfe1f41b5;p=libucw.git Fixed note about res_alloc() with no resource pool active --- diff --git a/ucw/resource.h b/ucw/resource.h index 74de3607..e67f9728 100644 --- a/ucw/resource.h +++ b/ucw/resource.h @@ -75,7 +75,7 @@ static inline struct respool *rp_switch(struct respool *rp) return orp; } -struct resource *res_alloc(const struct res_class *rc) LIKE_MALLOC; // Returns NULL if there is no pool active +struct resource *res_alloc(const struct res_class *rc) LIKE_MALLOC; // Dies if there is no pool active void res_dump(struct resource *r, uns indent); /** Prints out a debugging dump of the resource to stdout. **/