]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - Grow.c
Fix warning about host-endian bitmaps.
[thirdparty/mdadm.git] / Grow.c
diff --git a/Grow.c b/Grow.c
index d7c7553200dafd83383bdecfe9d8489f8bc89b45..8ce4d32e12b2343a93a47c626ee29f8afdb217e1 100644 (file)
--- a/Grow.c
+++ b/Grow.c
@@ -228,10 +228,10 @@ int Grow_addbitmap(char *devname, int fd, char *file, int chunk, int delay, int
 
        if (vers < 9003) {
                major = BITMAP_MAJOR_HOSTENDIAN;
-#ifdef __BIG_ENDIAN
-               fprintf(stderr, Name ": Warning - bitmaps created on this kernel are not portable\n"
-                       "  between different architectured.  Consider upgrading the Linux kernel.\n");
-#endif
+               fprintf(stderr, Name ": Warning - bitmaps created on this kernel"
+                       " are not portable\n"
+                       "  between different architectures.  Consider upgrading"
+                       " the Linux kernel.\n");
        }
 
        if (ioctl(fd, GET_BITMAP_FILE, &bmf) != 0) {