This fixes the following compiler warning kexec/arch/i386/crashdump-x86.c: In function 'get_crash_memory_ranges': kexec/arch/i386/crashdump-x86.c:144: warning: passing argument 1 of \ 'fprintf' from incompatible pointer type kexec/arch/i386/crashdump-x86.c:144: warning: passing argument 2 of \ 'fprintf' makes pointer from integer without a cast Signed-off-by: Bernhard Walle <bwalle at suse.de> --- kexec/arch/i386/crashdump-x86.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kexec/arch/i386/crashdump-x86.c b/kexec/arch/i386/crashdump-x86.c index 478d6be..ec61dfe 100644 --- a/kexec/arch/i386/crashdump-x86.c +++ b/kexec/arch/i386/crashdump-x86.c @@ -141,7 +141,7 @@ static int get_crash_memory_ranges(struct memory_range **range, int *ranges, } } if (crash_reserved_mem.start >= mem_max) { - fprintf("Too small mem_max: 0x%lx.\n", mem_max); + fprintf(stderr, "Too small mem_max: 0x%lx.\n", mem_max); return -1; } crash_reserved_mem.end = mem_max; -- 1.6.0.2