summaryrefslogtreecommitdiff
path: root/evtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'evtest.c')
-rw-r--r--evtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/evtest.c b/evtest.c
index 4d60a3c..acca753 100644
--- a/evtest.c
+++ b/evtest.c
@@ -643,7 +643,7 @@ static char* scan_devices(void)
int i, ndev, devnum;
char *filename;
- ndev = scandir(DEV_INPUT_EVENT, &namelist, is_event_device, alphasort);
+ ndev = scandir(DEV_INPUT_EVENT, &namelist, is_event_device, versionsort);
if (ndev <= 0)
return NULL;