summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2009-03-02 03:08:46 +0000
committerCy Schubert <cy@FreeBSD.org>2009-03-02 03:08:46 +0000
commit062a58a1605229a80f4e62ecbc3f609a25550b5c (patch)
tree81346d7aedbd66ec80add3920a05fab12bc40965
parentdeefe58337dcb916e04eefb262164f7f38af120b (diff)
Notes
-rw-r--r--sbin/dump/optr.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/dump/optr.c b/sbin/dump/optr.c
index 8fc255ae73c5..a545157bc3b0 100644
--- a/sbin/dump/optr.c
+++ b/sbin/dump/optr.c
@@ -318,9 +318,10 @@ dump_getfstab(void)
return;
}
while ((fs = getfsent()) != NULL) {
- if (strcmp(fs->fs_type, FSTAB_RW) &&
+ if ((strcmp(fs->fs_type, FSTAB_RW) &&
strcmp(fs->fs_type, FSTAB_RO) &&
- strcmp(fs->fs_type, FSTAB_RQ))
+ strcmp(fs->fs_type, FSTAB_RQ)) ||
+ strcmp(fs->fs_vfstype, "ufs"))
continue;
fs = allocfsent(fs);
if ((pf = (struct pfstab *)malloc(sizeof (*pf))) == NULL)