]> err.no Git - systemd/commitdiff
[PATCH] operate on the rules in the order they are in the config file (within the...
authorgreg@kroah.com <greg@kroah.com>
Wed, 3 Dec 2003 01:45:19 +0000 (17:45 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:13:04 +0000 (21:13 -0700)
namedev.c

index d45a827083dd59f46d413a1b3a09732c26d9a976..0abd4b8041192d4f9148655be5ed8c6e6d9ecd6d 100644 (file)
--- 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;
 }