summaryrefslogtreecommitdiff
path: root/dynamite.c
diff options
context:
space:
mode:
Diffstat (limited to 'dynamite.c')
-rw-r--r--dynamite.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dynamite.c b/dynamite.c
index 428ea64..bcfb5c4 100644
--- a/dynamite.c
+++ b/dynamite.c
@@ -290,6 +290,7 @@ bool cPluginDynamite::Initialize(void)
// look for all dvb devices
cList<cUdevDevice> *devices = cUdev::EnumDevices("dvb", "DVB_DEVICE_TYPE", "frontend");
if (devices != NULL) {
+ devices->Sort();
int dummy = 0;
for (cUdevDevice *d = devices->First(); d; d = devices->Next(d)) {
const char *devpath = d->GetDevnode();