diff options
-rw-r--r-- | common/devices.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/devices.c b/common/devices.c index 8beebe2..7d0ac2e 100644 --- a/common/devices.c +++ b/common/devices.c @@ -155,7 +155,7 @@ int device_register (device_t * dev) _dev = device_clone(dev); if(!_dev) return -1; - list_add(&(_dev->list), &(devs.list)); + list_add_tail(&(_dev->list), &(devs.list)); return 0; } |