The option "fstype" does not handle the argument "msdos" correctly.
This error results from changing the name for the msdos file system from "pcfs" to "msdos". Close PR #1105 submitted by: Thomas Wintergerst <thomas@lemur.nord.de>, Slaven Rezic <eserte@cs.tu-berlin.de>
This commit is contained in:
parent
5a1be49fbe
commit
763e85ffcd
@ -418,6 +418,10 @@ c_fstype(arg)
|
||||
new->flags = F_MTTYPE;
|
||||
new->mt_data = MOUNT_MFS;
|
||||
return (new);
|
||||
} else if (!strcmp(arg, "msdos")) {
|
||||
new->flags = F_MTTYPE;
|
||||
new->mt_data = MOUNT_MSDOS;
|
||||
return (new);
|
||||
}
|
||||
break;
|
||||
case 'n':
|
||||
@ -427,13 +431,6 @@ c_fstype(arg)
|
||||
return (new);
|
||||
}
|
||||
break;
|
||||
case 'p':
|
||||
if (!strcmp(arg, "msdos")) {
|
||||
new->flags = F_MTTYPE;
|
||||
new->mt_data = MOUNT_MSDOS;
|
||||
return (new);
|
||||
}
|
||||
break;
|
||||
case 'r':
|
||||
if (!strcmp(arg, "rdonly")) {
|
||||
new->flags = F_MTFLAG;
|
||||
|
Loading…
Reference in New Issue
Block a user