summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2003-12-02 17:45:19 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:04 -0700
commit8cf7ebe8cdf9cb39ca9a60e23c735ab62cd15928 (patch)
treebac57deb5d1a82073a0c6942f800c21680323285
parent7f2ea6a38223b02d38406baf1843f4ee1349abcf (diff)
[PATCH] operate on the rules in the order they are in the config file (within the rule type)
-rw-r--r--namedev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/namedev.c b/namedev.c
index d45a827083..0abd4b8041 100644
--- a/namedev.c
+++ b/namedev.c
@@ -145,7 +145,7 @@ static int add_dev(struct config_device *new_dev)
if (!tmp_dev)
return -ENOMEM;
memcpy(tmp_dev, new_dev, sizeof(*tmp_dev));
- list_add(&tmp_dev->node, &config_device_list);
+ list_add_tail(&tmp_dev->node, &config_device_list);
//dump_dev(tmp_dev);
return 0;
}