Changes by: cha0smaster
Update of /cvsroot/linux-ntfs/ntfsprogs/ntfsprogs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26790/ntfsprogs
Modified Files:
ntfsmount.c
Log Message:
minor ntfsmount cleanup
Index: ntfsmount.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/ntfsprogs/ntfsmount.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -p -r1.28 -r1.29
--- ntfsmount.c 16 Sep 2005 14:28:18 -0000 1.28
+++ ntfsmount.c 16 Sep 2005 14:30:08 -0000 1.29
@@ -1150,16 +1150,16 @@ static char *parse_mount_options(char *o
Eprintf("'ro' option should not have value.\n");
goto err_exit;
}
- ctx->ro =TRUE;
+ ctx->ro = TRUE;
strcat(ret, "ro,");
#ifdef DEBUG
- } else if (!strcmp(opt, "fake_ro")) {
+ } else if (!strcmp(opt, "fake_rw")) {
if (val) {
- Eprintf("'fake_ro' option should not have "
+ Eprintf("'fake_rw' option should not have "
"value.\n");
goto err_exit;
}
- ctx->ro =TRUE;
+ ctx->ro = TRUE;
#endif
} else if (!strcmp(opt, "fsname")) { /* Filesystem name. */
/*
@@ -1274,7 +1274,7 @@ static void usage(void)
* Return: 1 Success
* 0 Error, one or more problems
*/
-static int parse_options (int argc, char *argv[])
+static int parse_options(int argc, char *argv[])
{
int err = 0, help = 0;
char c = -1;
@@ -1293,7 +1293,7 @@ static int parse_options (int argc, char
opts.mnt_point = NULL;
opts.options = NULL;
- while ((c = getopt_long (argc, argv, sopt, lopt, NULL)) != (char)-1) {
+ while ((c = getopt_long(argc, argv, sopt, lopt, NULL)) != (char)-1) {
switch (c) {
case 1: /* A non-option argument */
if (!opts.mnt_point)
|