summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/lvm2/files/0002-Guard-use-of-mallinfo-with-__GLIBC__.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/lvm2/files/0002-Guard-use-of-mallinfo-with-__GLIBC__.patch')
-rw-r--r--meta-oe/recipes-support/lvm2/files/0002-Guard-use-of-mallinfo-with-__GLIBC__.patch13
1 files changed, 5 insertions, 8 deletions
diff --git a/meta-oe/recipes-support/lvm2/files/0002-Guard-use-of-mallinfo-with-__GLIBC__.patch b/meta-oe/recipes-support/lvm2/files/0002-Guard-use-of-mallinfo-with-__GLIBC__.patch
index 95dcede33..ce8a97ab6 100644
--- a/meta-oe/recipes-support/lvm2/files/0002-Guard-use-of-mallinfo-with-__GLIBC__.patch
+++ b/meta-oe/recipes-support/lvm2/files/0002-Guard-use-of-mallinfo-with-__GLIBC__.patch
@@ -12,11 +12,11 @@ Signed-off-by: Dengke Du <dengke.du@windriver.com>
12 lib/mm/memlock.c | 2 +- 12 lib/mm/memlock.c | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-) 13 1 file changed, 1 insertion(+), 1 deletion(-)
14 14
15diff --git a/lib/mm/memlock.c b/lib/mm/memlock.c 15Index: LVM2.2.02.177/lib/mm/memlock.c
16index da90144..f34f890 100644 16===================================================================
17--- a/lib/mm/memlock.c 17--- LVM2.2.02.177.orig/lib/mm/memlock.c
18+++ b/lib/mm/memlock.c 18+++ LVM2.2.02.177/lib/mm/memlock.c
19@@ -150,7 +150,7 @@ static void _touch_memory(void *mem, size_t size) 19@@ -151,7 +151,7 @@ static void _touch_memory(void *mem, siz
20 20
21 static void _allocate_memory(void) 21 static void _allocate_memory(void)
22 { 22 {
@@ -25,6 +25,3 @@ index da90144..f34f890 100644
25 void *stack_mem; 25 void *stack_mem;
26 struct rlimit limit; 26 struct rlimit limit;
27 int i, area = 0, missing = _size_malloc_tmp, max_areas = 32, hblks; 27 int i, area = 0, missing = _size_malloc_tmp, max_areas = 32, hblks;
28--
292.12.0
30