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 ffd2b1ff3b4e78c45b48b72b0a14b23fe5153ced..e4880c981488a1db29112351db15d6bbf2a44d4f 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");
 
        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;
        }
                run_exec_q = 1;
                return;
        }