summaryrefslogtreecommitdiff
path: root/smbnetfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'smbnetfs.c')
-rw-r--r--smbnetfs.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/smbnetfs.c b/smbnetfs.c
index c673dd45c..3dfefb689 100644
--- a/smbnetfs.c
+++ b/smbnetfs.c
@@ -35,7 +35,12 @@
#define DIRENT_LEN(name_len) ((DIRENT_NAME_OFFS + (name_len) + 1 \
+ (DIRENT_ALIGN - 1)) & ~(DIRENT_ALIGN - 1))
-struct smb_credentials credentials;
+struct smb_credentials credentials =
+ {
+ .workgroup = "WORKGROUP",
+ .password = ""
+ };
+
static volatile struct mapped_time_value *maptime;
static struct mutex smb_mutex;