summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve French <sfrench@samba.org>2003-06-20 16:41:41 +0000
committerSteve French <sfrench@samba.org>2003-06-20 16:41:41 +0000
commitd1fafca6087b1be684d98a004965c3d790552180 (patch)
tree9595905d5e4d5fdd652926c778f06256ef9cec61
parent85cc64731c554d7f5e921b2635484c89d56659d6 (diff)
downloadsamba-d1fafca6087b1be684d98a004965c3d790552180.tar.gz
samba-d1fafca6087b1be684d98a004965c3d790552180.tar.bz2
samba-d1fafca6087b1be684d98a004965c3d790552180.zip
Fix mount options for ro, dir_mode, file_mode
(This used to be commit 7e7cf0dd98ec8e28c02cb9e36064eaf098339801)
-rwxr-xr-xsource3/client/mount.cifs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/client/mount.cifs.c b/source3/client/mount.cifs.c
index 6edb06aedf..9592dbdf96 100755
--- a/source3/client/mount.cifs.c
+++ b/source3/client/mount.cifs.c
@@ -377,7 +377,7 @@ int main(int argc, char ** argv)
test_opts = xstrdup(optarg);
break;*/
case 'r': /* mount readonly */
- flags |= MS_RDONLY;;
+ flags |= MS_RDONLY;
break;
case 'U':
uuid = optarg;
@@ -389,7 +389,7 @@ int main(int argc, char ** argv)
printf ("mount: %s\n", version);
exit (0);*/
case 'w':
- flags &= ~MS_RDONLY;;
+ flags &= ~MS_RDONLY;
break;
/* case 0:
break;