summaryrefslogtreecommitdiff
path: root/sys/lib/libsa/loadfile_elf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/lib/libsa/loadfile_elf.c')
-rw-r--r--sys/lib/libsa/loadfile_elf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/lib/libsa/loadfile_elf.c b/sys/lib/libsa/loadfile_elf.c
index a3fa472b293..07b16c37a3e 100644
--- a/sys/lib/libsa/loadfile_elf.c
+++ b/sys/lib/libsa/loadfile_elf.c
@@ -1,5 +1,5 @@
/* $NetBSD: loadfile.c,v 1.10 2000/12/03 02:53:04 tsutsui Exp $ */
-/* $OpenBSD: loadfile_elf.c,v 1.13 2016/09/17 17:39:34 jasper Exp $ */
+/* $OpenBSD: loadfile_elf.c,v 1.14 2019/04/10 04:17:37 deraadt Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -65,10 +65,10 @@
* @(#)boot.c 8.1 (Berkeley) 6/10/93
*/
-int ELFNAME(exec)(int, Elf_Ehdr *, u_long *, int);
+int ELFNAME(exec)(int, Elf_Ehdr *, uint64_t *, int);
int
-ELFNAME(exec)(int fd, Elf_Ehdr *elf, u_long *marks, int flags)
+ELFNAME(exec)(int fd, Elf_Ehdr *elf, uint64_t *marks, int flags)
{
Elf_Shdr *shp;
Elf_Phdr *phdr;