aboutsummaryrefslogtreecommitdiff
path: root/sys/boot
diff options
context:
space:
mode:
authorKirk McKusick <mckusick@FreeBSD.org>2003-02-24 04:57:01 +0000
committerKirk McKusick <mckusick@FreeBSD.org>2003-02-24 04:57:01 +0000
commitc555826bd72ac02f16b7d78900f945742eafaef5 (patch)
tree652a3d1eb944ce6859d0751930526e1cf3b8442b /sys/boot
parent36f19f1beea154cc9f2f3b19f95d91a9b2b80bb1 (diff)
Notes
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/common/ufsread.c2
1 files changed, 2 insertions, 0 deletions
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 <ufs/ufs/dinode.h>
#include <ufs/ffs/fs.h>
+#undef cgbase
+#define cgbase(fs, c) ((ufs2_daddr_t)((fs)->fs_fpg * (c)))
/*
* We use 4k `virtual' blocks for filesystem data, whatever the actual