From: greg@kroah.com Date: Wed, 3 Dec 2003 01:45:19 +0000 (-0800) Subject: [PATCH] operate on the rules in the order they are in the config file (within the... X-Git-Tag: 008~22 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cf7ebe8cdf9cb39ca9a60e23c735ab62cd15928;p=systemd [PATCH] operate on the rules in the order they are in the config file (within the rule type) --- diff --git a/namedev.c b/namedev.c index d45a8270..0abd4b80 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; }