diff options
author | wosch <wosch@FreeBSD.org> | 1997-01-28 13:18:46 +0000 |
---|---|---|
committer | wosch <wosch@FreeBSD.org> | 1997-01-28 13:18:46 +0000 |
commit | a6574d9b8370747ae8329e940631b86b3b51a47c (patch) | |
tree | 6631c8ee2e966f6afe2b4e86e4af5636c4a1bbe6 /usr.bin | |
parent | c50b40bf298d9442434801a0eeaffc6a491c6732 (diff) | |
download | FreeBSD-src-a6574d9b8370747ae8329e940631b86b3b51a47c.zip FreeBSD-src-a6574d9b8370747ae8329e940631b86b3b51a47c.tar.gz |
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>
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/find/function.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/usr.bin/find/function.c b/usr.bin/find/function.c index e5d7106..73014fd 100644 --- a/usr.bin/find/function.c +++ b/usr.bin/find/function.c @@ -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; |