summaryrefslogtreecommitdiffstats
path: root/core/windows.c
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2018-08-27 08:27:07 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-08-27 22:09:44 -0700
commitbb067b6ee4828fc2444395d4cfda80831c4721bb (patch)
tree87829159ac865e5557c42c537ef7569dbd87a6dd /core/windows.c
parentcae30f450af10f919410cbfe45497404d065a722 (diff)
downloadsubsurface-bb067b6ee4828fc2444395d4cfda80831c4721bb.tar.gz
Treat the "GARMIN" mount point exactly like the "UEMISSDA" one
The logic for finding a mount point for the Garmin FIT devices is basically exactly the same as for the UEMISSDA, even if the rest of the sequence is not the same. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/windows.c')
-rw-r--r--core/windows.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/windows.c b/core/windows.c
index 1166e858a..cb031e261 100644
--- a/core/windows.c
+++ b/core/windows.c
@@ -173,7 +173,7 @@ int enumerate_devices(device_callback_t callback, void *userdata, int dc_type)
int i;
int count_drives = 0;
const int bufdef = 512;
- const char *dlabels[] = {"UEMISSDA", NULL};
+ const char *dlabels[] = {"UEMISSDA", "GARMIN", NULL};
char bufname[bufdef], bufval[bufdef], *p;
DWORD bufname_len;