Fix mount options for ro, dir_mode, file_mode
authorSteve French <sfrench@samba.org>
Fri, 20 Jun 2003 16:41:41 +0000 (16:41 +0000)
committerSteve French <sfrench@samba.org>
Fri, 20 Jun 2003 16:41:41 +0000 (16:41 +0000)
(This used to be commit 7e7cf0dd98ec8e28c02cb9e36064eaf098339801)

source3/client/mount.cifs.c

index 6edb06aedfb10611596025a3cff9a798b4cd61fa..9592dbdf96673099be77717e58072e8f08f0ae53 100755 (executable)
@@ -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;