diff options
author | Eduardo Casino <mail@eduardocasino.es> | 2022-05-16 18:26:38 +0200 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2022-05-22 23:58:43 +0200 |
commit | b8eb74ac1d31ffc382e654e19bba4e5e48f0001e (patch) | |
tree | fa4ce68536e6786b91feddab41d4a648b94dbdb4 /sfmain.c | |
parent | be314d2dc2846bdc08243892e66fa74aa47dcd78 (diff) | |
download | vbados-b8eb74ac1d31ffc382e654e19bba4e5e48f0001e.tar.gz vbados-b8eb74ac1d31ffc382e654e19bba4e5e48f0001e.zip |
Fix automount when mount point is empty
Diffstat (limited to 'sfmain.c')
-rw-r--r-- | sfmain.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |