chiark / gitweb /
udevd: keep the right order for messages without SEQNUM
authorKay Sievers <kay.sievers@suse.de>
Mon, 22 Aug 2005 22:57:46 +0000 (00:57 +0200)
committerKay Sievers <kay.sievers@suse.de>
Mon, 22 Aug 2005 22:57:46 +0000 (00:57 +0200)
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
udevd.c

diff --git a/udevd.c b/udevd.c
index ffd2b1f..e4880c9 100644 (file)
--- a/udevd.c
+++ b/udevd.c
@@ -113,7 +113,7 @@ static void msg_queue_insert(struct uevent_msg *msg)
 
        if (msg->seqnum == 0) {
                dbg("no SEQNUM, move straight to the exec queue");
-               list_add(&msg->node, &exec_list);
+               list_add_tail(&msg->node, &exec_list);
                run_exec_q = 1;
                return;
        }