summaryrefslogtreecommitdiffstats
path: root/core/unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/unix.c')
-rw-r--r--core/unix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/unix.c b/core/unix.c
index a75bcd792..48fd3f467 100644
--- a/core/unix.c
+++ b/core/unix.c
@@ -161,6 +161,8 @@ int enumerate_devices(device_callback_t callback, void *userdata, int dc_type)
while ((getline(&line, &len, file)) != -1) {
char *ptr = strstr(line, "UEMISSDA");
+ if (!ptr)
+ ptr = strstr(line, "GARMIN");
if (ptr) {
char *end = ptr, *start = ptr;
while (start > line && *start != ' ')