diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-10-12 01:24:16 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-10-12 01:24:16 +0000 |
commit | b48bbc7bdb3f5f9664173d9490e8eb31488c3a64 (patch) | |
tree | b055d1434ff5c021b992ddcfaf7e2408d558b5b2 /sbin | |
parent | 342f8ed5ed1c391c2dd1bbf9fb24a50fb697de64 (diff) |
permit ufs filesystem type too
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/dump/optr.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sbin/dump/optr.c b/sbin/dump/optr.c index add3db6ea65..07fc2cffa05 100644 --- a/sbin/dump/optr.c +++ b/sbin/dump/optr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: optr.c,v 1.11 1996/09/14 19:29:00 deraadt Exp $ */ +/* $OpenBSD: optr.c,v 1.12 1996/10/12 01:24:15 deraadt Exp $ */ /* $NetBSD: optr.c,v 1.4 1996/05/18 16:16:17 jtk Exp $ */ /*- @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)optr.c 8.2 (Berkeley) 1/6/94"; #else -static char rcsid[] = "$OpenBSD: optr.c,v 1.11 1996/09/14 19:29:00 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: optr.c,v 1.12 1996/10/12 01:24:15 deraadt Exp $"; #endif #endif /* not lint */ @@ -345,7 +345,8 @@ getfstab() return; } while ((fs = getfsent()) != NULL) { - if (strcmp(fs->fs_vfstype, "ffs")) + if (strcmp(fs->fs_vfstype, "ffs") && + strcmp(fs->fs_vfstype, "ufs")) continue; if (strcmp(fs->fs_type, FSTAB_RW) && strcmp(fs->fs_type, FSTAB_RO) && |