summaryrefslogtreecommitdiff
path: root/source3/client/smbmnt.c
diff options
context:
space:
mode:
authorGünter Kukkukk <linux@kukkukk.com>2007-10-15 01:16:01 +0200
committerVolker Lendecke <vl@sernet.de>2007-10-15 12:31:21 +0200
commitd3a7f49c6f68e740aa42b586efd687c840f963ff (patch)
treebd043b8b3e862d26d475f0005fef292b93cec1e6 /source3/client/smbmnt.c
parentc9165b99e9d04a48cacd416c049c44e46ec5a365 (diff)
downloadsamba-d3a7f49c6f68e740aa42b586efd687c840f963ff.tar.gz
samba-d3a7f49c6f68e740aa42b586efd687c840f963ff.tar.bz2
samba-d3a7f49c6f68e740aa42b586efd687c840f963ff.zip
Latest ipv6 changes broke (deprecated) smbmount, smbmnt and smbctool
In addition some cleanup has been done to avoid compiler warnings. (This used to be commit 29eb4d0e2d8ce4a0bd2a081265417684c8c69d6d)
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;