summaryrefslogtreecommitdiff
path: root/bin/df/ext2fs_df.c
diff options
context:
space:
mode:
authorjasoni <jasoni@cvs.openbsd.org>2000-04-26 23:26:08 +0000
committerjasoni <jasoni@cvs.openbsd.org>2000-04-26 23:26:08 +0000
commit2ff690a15797dceababa2e77f7dca9567657c9b9 (patch)
treef079ecec0615e6bc8dffe9c2ddab263e7e3327c1 /bin/df/ext2fs_df.c
parentb8e2981f69abb136dfacb9e792372f456732e939 (diff)
Support for ext2fs rev. 1
Diffstat (limited to 'bin/df/ext2fs_df.c')
-rw-r--r--bin/df/ext2fs_df.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/df/ext2fs_df.c b/bin/df/ext2fs_df.c
index 48a30d41380..66314853ccd 100644
--- a/bin/df/ext2fs_df.c
+++ b/bin/df/ext2fs_df.c
@@ -75,7 +75,7 @@ e2fs_df(rfd, file, sfsp)
return (-1);
}
if ((sblock.e2fs_magic != E2FS_MAGIC) ||
- (sblock.e2fs_rev != E2FS_REV)) {
+ (sblock.e2fs_rev != E2FS_REV0 && sblock.e2fs_rev != E2FS_REV1)) {
return (-1);
}
sfsp->f_flags = 0; /* The fs is not mapped, so no flags */