Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
kexec-tools
kexec-tools-ppc64-dynamic-fix-1.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kexec-tools-ppc64-dynamic-fix-1.diff of Package kexec-tools
From b4b79993adc9ac3094361900f34582e36f5de162 Mon Sep 17 00:00:00 2001 From: Bernhard Walle <bwalle@suse.de> Date: Fri, 16 Jan 2009 18:52:29 +0100 Subject: [PATCH] [PPC64] Fix typo in realloc_memory_ranges() The base_memory_range should not become memory_range. We need to realloc base_memory_range to not change the contents of memory. That was a copy & paste error. Signed-off-by: Bernhard Walle <bwalle@suse.de> diff --git a/kexec/arch/ppc64/kexec-ppc64.c b/kexec/arch/ppc64/kexec-ppc64.c index d8347f1..b0d8acd 100644 --- a/kexec/arch/ppc64/kexec-ppc64.c +++ b/kexec/arch/ppc64/kexec-ppc64.c @@ -107,7 +107,7 @@ static int realloc_memory_ranges(void) if (!memory_range) goto err; - base_memory_range = (struct memory_range *) realloc(memory_range, memory_range_len); + base_memory_range = (struct memory_range *) realloc(base_memory_range, memory_range_len); if (!base_memory_range) goto err;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor