diff options
| author | Cy Schubert <cy@FreeBSD.org> | 2009-03-02 03:08:46 +0000 |
|---|---|---|
| committer | Cy Schubert <cy@FreeBSD.org> | 2009-03-02 03:08:46 +0000 |
| commit | 062a58a1605229a80f4e62ecbc3f609a25550b5c (patch) | |
| tree | 81346d7aedbd66ec80add3920a05fab12bc40965 | |
| parent | deefe58337dcb916e04eefb262164f7f38af120b (diff) | |
Notes
| -rw-r--r-- | sbin/dump/optr.c | 5 |
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) |
