summaryrefslogtreecommitdiff
path: root/sys/compat/netbsd
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2004-04-15 00:22:43 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2004-04-15 00:22:43 +0000
commit7f6fbd890eb0bd6c51d0d092bf164d9ed9eb1ae2 (patch)
treeea4ade38631fd2cba0c24d4fdcc32f79e4bcbfea /sys/compat/netbsd
parent12bc384ca1a43705d46f61cd2589ec43f75a1d2d (diff)
rework access to emulations slightly in an effort to both merge and
separate exec format from emulation. consistent naming of freebsd emuls. not much in the way of functional changes yet. testing and ok deraadt@ and others along the way.
Diffstat (limited to 'sys/compat/netbsd')
-rw-r--r--sys/compat/netbsd/netbsd_exec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/netbsd/netbsd_exec.c b/sys/compat/netbsd/netbsd_exec.c
index 0999972b333..d6c7f9e2910 100644
--- a/sys/compat/netbsd/netbsd_exec.c
+++ b/sys/compat/netbsd/netbsd_exec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: netbsd_exec.c,v 1.10 2001/11/06 19:53:17 miod Exp $ */
+/* $OpenBSD: netbsd_exec.c,v 1.11 2004/04/15 00:22:42 tedu Exp $ */
/* $NetBSD: svr4_exec.c,v 1.16 1995/10/14 20:24:20 christos Exp $ */
/*
@@ -58,7 +58,7 @@ extern struct sysent netbsd_sysent[];
extern char *netbsd_syscallnames[];
#endif
-struct emul emul_elf64_netbsd = {
+struct emul emul_netbsd_elf64 = {
"netbsd",
NULL,
netbsd_sendsig,
@@ -101,7 +101,7 @@ netbsd_elf64_probe(p, epp, itp, pos, os)
return (error);
free(bp, M_TEMP);
}
- epp->ep_emul = &emul_elf64_netbsd;
+ epp->ep_emul = &emul_netbsd_elf64;
*pos = ELF64_NO_ADDR;
if (*os == OOS_NULL)
*os = OOS_NETBSD;