mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 23:23:52 +01:00
lur: fix the index parsing for disconnect
argv[3] is the /dev/hidraw path Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
@@ -243,7 +243,7 @@ main(int argc, char **argv)
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
index = atoi(argv[3]);
|
||||
index = atoi(argv[2]);
|
||||
disconnect_device(receiver, index);
|
||||
} else {
|
||||
usage();
|
||||
|
||||
Reference in New Issue
Block a user