summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/mdadm/files/gcc-4.9.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/mdadm/files/gcc-4.9.patch')
-rw-r--r--meta/recipes-extended/mdadm/files/gcc-4.9.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/recipes-extended/mdadm/files/gcc-4.9.patch b/meta/recipes-extended/mdadm/files/gcc-4.9.patch
index 54bf1d79ab..df21399deb 100644
--- a/meta/recipes-extended/mdadm/files/gcc-4.9.patch
+++ b/meta/recipes-extended/mdadm/files/gcc-4.9.patch
@@ -7,13 +7,13 @@ make: *** [super-intel.o] Error 1
7Signed-off-by: Khem Raj <raj.khem@gmail.com> 7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8Upstream-Status: Pending 8Upstream-Status: Pending
9 9
10Index: mdadm-3.3/super-intel.c 10Index: mdadm-4.0/super-intel.c
11=================================================================== 11===================================================================
12--- mdadm-3.3.orig/super-intel.c 2014-05-02 15:08:21.154319651 -0700 12--- mdadm-4.0.orig/super-intel.c
13+++ mdadm-3.3/super-intel.c 2014-05-02 15:09:31.470985794 -0700 13+++ mdadm-4.0/super-intel.c
14@@ -5060,7 +5060,7 @@ 14@@ -5725,7 +5725,7 @@ static int write_super_imsm_spares(struc
15 spare->cache_size = mpb->cache_size, 15 spare->cache_size = mpb->cache_size;
16 spare->pwr_cycle_count = __cpu_to_le32(1), 16 spare->pwr_cycle_count = __cpu_to_le32(1);
17 17
18- snprintf((char *) spare->sig, MAX_SIGNATURE_LENGTH, 18- snprintf((char *) spare->sig, MAX_SIGNATURE_LENGTH,
19+ (void)snprintf((char *) spare->sig, MAX_SIGNATURE_LENGTH, 19+ (void)snprintf((char *) spare->sig, MAX_SIGNATURE_LENGTH,