From 9f73e3ef3d7c95dec709f3d77fea10ccf8fb4eca Mon Sep 17 00:00:00 2001 From: jake Date: Tue, 3 Dec 2002 16:25:29 +0000 Subject: 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 --- lib/libstand/ufs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libstand') 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)) -- cgit v1.1