From 37b892b2639747873df1e4fed604686020fc7163 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Thu, 18 Feb 2010 19:02:33 +0000 Subject: [PATCH] Use proper structure type for 64-bit headers # this fixes the MALTA64 build --- sys/mips/mips/elf_trampoline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/mips/mips/elf_trampoline.c b/sys/mips/mips/elf_trampoline.c index 5bd100cfbab8..4b387616c7ce 100644 --- a/sys/mips/mips/elf_trampoline.c +++ b/sys/mips/mips/elf_trampoline.c @@ -96,7 +96,7 @@ load_kernel(void * kstart) #ifdef __mips_n64 Elf64_Ehdr *eh; Elf64_Phdr phdr[64] /* XXX */; - Elf64_Phdr shdr[64] /* XXX */; + Elf64_Shdr shdr[64] /* XXX */; #else Elf32_Ehdr *eh; Elf32_Phdr phdr[64] /* XXX */;