ucimap: clarify alloc
authorFelix Fietkau <nbd@openwrt.org>
Sun, 30 Aug 2009 00:55:22 +0000 (02:55 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 30 Aug 2009 00:55:22 +0000 (02:55 +0200)
ucimap.h

index 9922f0fe26a73ae098d22418321cc038d1092054..ccd6127bcd4a9ac164fdb55ab54d82638f8a5090 100644 (file)
--- a/ucimap.h
+++ b/ucimap.h
@@ -109,7 +109,7 @@ struct uci_sectionmap {
        /* sectionmap offset, filled in by macro */
        unsigned int smap_offset;
 
-       /* allocate a new data structure and return a pointer to the section map data */
+       /* return a pointer to the section map data (allocate if necessary) */
        struct ucimap_section_data *(*alloc)(struct uci_map *map,
                struct uci_sectionmap *sm, struct uci_section *s);