diff --git a/sys/boot/common/ufsread.c b/sys/boot/common/ufsread.c index 8d674aea22b7..7f4661531ddf 100644 --- a/sys/boot/common/ufsread.c +++ b/sys/boot/common/ufsread.c @@ -28,8 +28,13 @@ #include #include +#ifdef __i386__ +/* XXX: Revert to old (broken for over 1.5Tb filesystems) version of cgbase + (see sys/ufs/ffs/fs.h rev 1.39) so that i386 boot loader (boot2) can + support both UFS1 and UFS2 again. */ #undef cgbase #define cgbase(fs, c) ((ufs2_daddr_t)((fs)->fs_fpg * (c))) +#endif /* * We use 4k `virtual' blocks for filesystem data, whatever the actual