From c555826bd72ac02f16b7d78900f945742eafaef5 Mon Sep 17 00:00:00 2001 From: Kirk McKusick Date: Mon, 24 Feb 2003 04:57:01 +0000 Subject: Revert to old (broken for over 1.5Tb filesystems) version of cgbase so that boot loader once again will fit. Sponsored by: DARPA & NAI Labs. --- sys/boot/common/ufsread.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/boot') diff --git a/sys/boot/common/ufsread.c b/sys/boot/common/ufsread.c index 46a2878edbb2..8d674aea22b7 100644 --- a/sys/boot/common/ufsread.c +++ b/sys/boot/common/ufsread.c @@ -28,6 +28,8 @@ #include #include +#undef cgbase +#define cgbase(fs, c) ((ufs2_daddr_t)((fs)->fs_fpg * (c))) /* * We use 4k `virtual' blocks for filesystem data, whatever the actual -- cgit v1.3