summaryrefslogtreecommitdiff
path: root/kexec/arch/i386/crashdump-x86.c
diff options
context:
space:
mode:
Diffstat (limited to 'kexec/arch/i386/crashdump-x86.c')
-rw-r--r--kexec/arch/i386/crashdump-x86.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kexec/arch/i386/crashdump-x86.c b/kexec/arch/i386/crashdump-x86.c
index 7e86819..1782712 100644
--- a/kexec/arch/i386/crashdump-x86.c
+++ b/kexec/arch/i386/crashdump-x86.c
@@ -375,7 +375,8 @@ static void ultoa(unsigned long i, char *str)
* memory regions the new kernel can use to boot into. */
static int cmdline_add_memmap(char *cmdline, struct memory_range *memmap_p)
{
- int i, cmdlen, len, min_sizek = 100;
+ int i, cmdlen, len;
+ unsigned long min_sizek = 100;
char str_mmap[256], str_tmp[20];
/* Exact map */