aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vl.c b/vl.c
index 5fc35abc5f..e32c6d0c3d 100644
--- a/vl.c
+++ b/vl.c
@@ -1476,6 +1476,7 @@ static void smb_exit(void)
unlink(filename);
}
}
+ closedir(d);
rmdir(smb_dir);
}
@@ -1510,6 +1511,7 @@ void net_slirp_smb(const char *exported_dir)
"lock directory=%s\n"
"log file=%s/log.smbd\n"
"smb passwd file=%s/smbpasswd\n"
+ "security = share\n"
"[qemu]\n"
"path=%s\n"
"read only=no\n"