diff options
author | neel <neel@FreeBSD.org> | 2010-02-18 05:49:52 +0000 |
---|---|---|
committer | neel <neel@FreeBSD.org> | 2010-02-18 05:49:52 +0000 |
commit | aa07cd309152c701760f95950436f1dac1e00016 (patch) | |
tree | 56e117e71722a097ba68b1b876cb693097f96568 /sys/kern/link_elf_obj.c | |
parent | ffb08c6fd3e283de1c77c3ac7c8834a367b7f6c7 (diff) | |
download | FreeBSD-src-aa07cd309152c701760f95950436f1dac1e00016.zip FreeBSD-src-aa07cd309152c701760f95950436f1dac1e00016.tar.gz |
Kernel module support for mips.
Reviewed by: gonzo
Tested by: Alexandr Rybalko (ray@dlink.ua)
Diffstat (limited to 'sys/kern/link_elf_obj.c')
-rw-r--r-- | sys/kern/link_elf_obj.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/link_elf_obj.c b/sys/kern/link_elf_obj.c index 68c60d8..a337fd0 100644 --- a/sys/kern/link_elf_obj.c +++ b/sys/kern/link_elf_obj.c @@ -853,8 +853,8 @@ link_elf_load_file(linker_class_t cls, const char *filename, panic("lost relatab"); if (mapbase != (vm_offset_t)ef->address + mapsize) panic("mapbase 0x%lx != address %p + mapsize 0x%lx (0x%lx)\n", - mapbase, ef->address, mapsize, - (vm_offset_t)ef->address + mapsize); + (u_long)mapbase, ef->address, (u_long)mapsize, + (u_long)(vm_offset_t)ef->address + mapsize); /* Local intra-module relocations */ link_elf_reloc_local(lf); |