summaryrefslogtreecommitdiff
path: root/usr.bin/find/function.c
diff options
context:
space:
mode:
authorWolfram Schneider <wosch@FreeBSD.org>1997-01-28 13:18:46 +0000
committerWolfram Schneider <wosch@FreeBSD.org>1997-01-28 13:18:46 +0000
commitfa363c34a458a63cf1a46d5fa3a4719b23e56eaa (patch)
tree6631c8ee2e966f6afe2b4e86e4af5636c4a1bbe6 /usr.bin/find/function.c
parentd00c34d948d72e76a1d7a9388e8844129f5a4337 (diff)
downloadsrc-test2-fa363c34a458a63cf1a46d5fa3a4719b23e56eaa.tar.gz
src-test2-fa363c34a458a63cf1a46d5fa3a4719b23e56eaa.zip
Notes
Diffstat (limited to 'usr.bin/find/function.c')
-rw-r--r--usr.bin/find/function.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/usr.bin/find/function.c b/usr.bin/find/function.c
index e5d71064c411..73014fd76c64 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;