]> mj.ucw.cz Git - libucw.git/commitdiff
Fixed note about res_alloc() with no resource pool active
authorMartin Mares <mj@ucw.cz>
Fri, 18 Oct 2013 14:39:55 +0000 (16:39 +0200)
committerMartin Mares <mj@ucw.cz>
Fri, 18 Oct 2013 14:39:55 +0000 (16:39 +0200)
ucw/resource.h

index 74de3607c0727a303a0fda01b26e729935711bac..e67f9728a14cdddfb9968ed238ba715c68c5c9c1 100644 (file)
@@ -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. **/