summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libstand/ufs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libstand/ufs.c b/lib/libstand/ufs.c
index 8993d6c..8148fe9 100644
--- a/lib/libstand/ufs.c
+++ b/lib/libstand/ufs.c
@@ -534,7 +534,7 @@ ufs_open(upath, f)
goto out;
if ((fs->fs_magic == FS_UFS1_MAGIC ||
(fs->fs_magic == FS_UFS2_MAGIC &&
- fs->fs_sblockloc == numfrags(fs, sblock_try[i]))) &&
+ fs->fs_sblockloc == sblock_try[i])) &&
buf_size == SBLOCKSIZE &&
fs->fs_bsize <= MAXBSIZE &&
fs->fs_bsize >= sizeof(struct fs))
OpenPOWER on IntegriCloud