aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-09-06 00:14:04 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-09-06 00:14:04 +0000
commit03ffbb69a8e01eded2457ee5873e2fab6f4abf15 (patch)
tree45a6b2f39d61d7c63ddaef14356a31022ee9668f /vl.c
parenta3d4af03bbedccb5c777562284c1098b9df7fe8a (diff)
smb config fix for NT
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1061 c046a42c-6fe2-441c-8c8c-71466251a162
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"