Commit 03ffbb69 authored by bellard's avatar bellard
Browse files

smb config fix for NT


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1061 c046a42c-6fe2-441c-8c8c-71466251a162
parent a3d4af03
...@@ -1476,6 +1476,7 @@ static void smb_exit(void) ...@@ -1476,6 +1476,7 @@ static void smb_exit(void)
unlink(filename); unlink(filename);
} }
} }
closedir(d);
rmdir(smb_dir); rmdir(smb_dir);
} }
...@@ -1510,6 +1511,7 @@ void net_slirp_smb(const char *exported_dir) ...@@ -1510,6 +1511,7 @@ void net_slirp_smb(const char *exported_dir)
"lock directory=%s\n" "lock directory=%s\n"
"log file=%s/log.smbd\n" "log file=%s/log.smbd\n"
"smb passwd file=%s/smbpasswd\n" "smb passwd file=%s/smbpasswd\n"
"security = share\n"
"[qemu]\n" "[qemu]\n"
"path=%s\n" "path=%s\n"
"read only=no\n" "read only=no\n"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment