aboutsummaryrefslogtreecommitdiff
path: root/sfmain.c
diff options
context:
space:
mode:
authorEduardo Casino <mail@eduardocasino.es>2022-05-16 18:26:38 +0200
committerJavier <dev.git@javispedro.com>2022-05-22 23:58:43 +0200
commitb8eb74ac1d31ffc382e654e19bba4e5e48f0001e (patch)
treefa4ce68536e6786b91feddab41d4a648b94dbdb4 /sfmain.c
parentbe314d2dc2846bdc08243892e66fa74aa47dcd78 (diff)
downloadvbados-b8eb74ac1d31ffc382e654e19bba4e5e48f0001e.tar.gz
vbados-b8eb74ac1d31ffc382e654e19bba4e5e48f0001e.zip
Fix automount when mount point is empty
Diffstat (limited to 'sfmain.c')
-rw-r--r--sfmain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfmain.c b/sfmain.c
index 04b4d1b..9432508 100644
--- a/sfmain.c
+++ b/sfmain.c
@@ -276,7 +276,7 @@ static int automount(LPTSRDATA data)
for (i = 0 ; i < num_maps; i++) {
unsigned flags = SHFL_MIQF_DRIVE_LETTER, version = 0;
- char drive_letter;
+ char drive_letter = '\0';
err = vbox_shfl_query_map_info(&data->vb, data->hgcm_client_id, maps[i].root,
&name.shflstr, &mountPoint.shflstr, &flags, &version);