summaryrefslogtreecommitdiffhomepage
path: root/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils.h b/utils.h
index 3a8e557..23795e5 100644
--- a/utils.h
+++ b/utils.h
@@ -63,7 +63,7 @@ static inline void vlist_simple_update(struct vlist_simple_tree *tree)
static inline void vlist_simple_add(struct vlist_simple_tree *tree, struct vlist_simple_node *node)
{
node->version = tree->version;
- list_add(&node->list, &tree->list);
+ list_add_tail(&node->list, &tree->list);
}
#define vlist_simple_for_each_element(tree, element, node_member) \