summaryrefslogtreecommitdiffstats
path: root/md_p.h
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2001-08-23 04:33:20 +0200
committerNeil Brown <neilb@suse.de>2001-08-23 04:33:20 +0200
commit52826846282e9e224e05dde6d2e4cb38d1fefec7 (patch)
treee776bd76e2d152c28854b83d9776ab8f7ec41317 /md_p.h
parentmdctl-v0.4.2 (diff)
downloadmdadm-52826846282e9e224e05dde6d2e4cb38d1fefec7.tar.xz
mdadm-52826846282e9e224e05dde6d2e4cb38d1fefec7.zip
mdctl-0.5mdctl-0.5
Diffstat (limited to 'md_p.h')
-rw-r--r--md_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/md_p.h b/md_p.h
index d6bb37a8..99479b43 100644
--- a/md_p.h
+++ b/md_p.h
@@ -128,7 +128,7 @@ typedef struct mdp_superblock_s {
__u32 failed_disks; /* 4 Number of failed disks */
__u32 spare_disks; /* 5 Number of spare disks */
__u32 sb_csum; /* 6 checksum of the whole superblock */
-#ifdef __BIG_ENDIAN
+#if __BYTE_ORDER == __BIG_ENDIAN
__u32 events_hi; /* 7 high-order of superblock update count */
__u32 events_lo; /* 8 low-order of superblock update count */
#else