From 31bc9b030b0062c13806a64c6906cf1560579a23 Mon Sep 17 00:00:00 2001 From: sam Date: Thu, 18 Dec 2008 04:36:44 +0000 Subject: [PATCH] unbreak cg_chkmagic_swap --- makefs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefs.h b/makefs.h index 13339c2fb539..e02bf0c6b819 100644 --- a/makefs.h +++ b/makefs.h @@ -269,7 +269,7 @@ extern struct timespec start_time; #endif #define cg_chkmagic_swap(cgp, ns) \ - (ufs_rw32(cg_chkmagic(cgp), (ns)) == CG_MAGIC) + (ufs_rw32((cgp)->cg_magic, (ns)) == CG_MAGIC) #define cg_inosused_swap(cgp, ns) cg_inosused(cgp) #define cg_blksfree_swap(cgp, ns) cg_blksfree(cgp) #define cg_clustersfree_swap(cgp, ns) cg_clustersfree(cgp)