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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/smbmnt.c b/source3/client/smbmnt.c
index 79c55b2f90..198faca173 100644
--- a/source3/client/smbmnt.c
+++ b/source3/client/smbmnt.c
@@ -162,7 +162,7 @@ do_mount(char *share_name, unsigned int flags, struct smb_mount_data *data)
char *release, *major, *minor;
char *data1, *data2;
int ret;
- char *saveptr;
+ char *saveptr = NULL;
if (asprintf(&opts,
"version=7,uid=%d,gid=%d,file_mode=0%o,dir_mode=0%o,%s",