summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorart <art@openbsd.org>2000-12-14 16:54:41 +0000
committerart <art@openbsd.org>2000-12-14 16:54:41 +0000
commitcb99bf39a92a9682ee471a1498f9b0ad2124c8a1 (patch)
tree3dfc72e3145ad08c95717f523d4b69356a56ded8
parentnative ELF and ELF for nlist (diff)
downloadwireguard-openbsd-cb99bf39a92a9682ee471a1498f9b0ad2124c8a1.tar.xz
wireguard-openbsd-cb99bf39a92a9682ee471a1498f9b0ad2124c8a1.zip
NATIVE_ELF -> NATIVE_EXEC_ELF (this is what userland uses and
what is defined in machine/exec.h
-rw-r--r--sys/kern/exec_elf64.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/exec_elf64.c b/sys/kern/exec_elf64.c
index c1d5f4afcfe..517323f8fcd 100644
--- a/sys/kern/exec_elf64.c
+++ b/sys/kern/exec_elf64.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_elf64.c,v 1.8 1999/11/25 13:41:30 art Exp $ */
+/* $OpenBSD: exec_elf64.c,v 1.9 2000/12/14 16:54:41 art Exp $ */
/*
* Copyright (c) 1996 Per Fogelstrom
@@ -94,7 +94,7 @@ struct elf64_probe_entry {
#ifdef COMPAT_NETBSD
{ netbsd_elf64_probe, 1 << OOS_NETBSD },
#endif
-#ifdef NATIVE_ELF
+#ifdef NATIVE_EXEC_ELF
{ 0, 1 << OOS_OPENBSD }
#endif
};
@@ -545,7 +545,7 @@ exec_elf64_makecmds(p, epp)
0;
if (!error)
p->p_os = os;
-#ifndef NATIVE_ELF
+#ifndef NATIVE_EXEC_ELF
else
goto bad;
#endif /* NATIVE_ELF */