summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2002-12-03 16:25:29 +0000
committerjake <jake@FreeBSD.org>2002-12-03 16:25:29 +0000
commit9f73e3ef3d7c95dec709f3d77fea10ccf8fb4eca (patch)
tree799bf1e81d18afba24911d325166448e4c5b5d94 /lib
parentffe0d359952e4d4934c0ae528d3d8bb0acf6ce84 (diff)
downloadFreeBSD-src-9f73e3ef3d7c95dec709f3d77fea10ccf8fb4eca.zip
FreeBSD-src-9f73e3ef3d7c95dec709f3d77fea10ccf8fb4eca.tar.gz
Update the second copy of libstand to deal with the new ufs2 superblock
format. The one in sys/boot/libstand is not connected to the build. Approved by: re
Diffstat (limited to 'lib')
-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