summaryrefslogtreecommitdiff
path: root/source3/client/smbmnt.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/client/smbmnt.c')
-rw-r--r--source3/client/smbmnt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/client/smbmnt.c b/source3/client/smbmnt.c
index c9759f4fd1..08dcac8bec 100644
--- a/source3/client/smbmnt.c
+++ b/source3/client/smbmnt.c
@@ -272,10 +272,10 @@ do_mount(char *share_name, unsigned int flags, struct smb_mount_data *data)
return -1;
}
- ment.mnt_fsname = share_name ? share_name : "none";
+ ment.mnt_fsname = share_name ? share_name : (char *)"none";
ment.mnt_dir = mount_point;
- ment.mnt_type = "smbfs";
- ment.mnt_opts = "";
+ ment.mnt_type = (char *)"smbfs";
+ ment.mnt_opts = (char *)"";
ment.mnt_freq = 0;
ment.mnt_passno= 0;