diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2000-08-23 16:33:21 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2000-08-23 16:33:21 +0000 |
commit | 7eabfdd060c1dfa69103874619c57e5df7420553 (patch) | |
tree | 5eea9b65ef5ea1dada4c95e122f70a55a1e20fb4 /sys | |
parent | aa7b91e1af5e6efcabd213f989765e84fff1cd9c (diff) |
svr4_error -> native_to_svr4_errno
Diffstat (limited to 'sys')
-rw-r--r-- | sys/compat/svr4/svr4_errno.c | 4 | ||||
-rw-r--r-- | sys/compat/svr4/svr4_exec.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/compat/svr4/svr4_errno.c b/sys/compat/svr4/svr4_errno.c index a3a0f9ca42a..d021fd5fc6f 100644 --- a/sys/compat/svr4/svr4_errno.c +++ b/sys/compat/svr4/svr4_errno.c @@ -1,4 +1,4 @@ -/* $OpenBSD: svr4_errno.c,v 1.1 2000/08/23 16:30:53 brad Exp $ */ +/* $OpenBSD: svr4_errno.c,v 1.2 2000/08/23 16:33:20 brad Exp $ */ /* $NetBSD: svr4_errno.c,v 1.6 1998/10/23 04:02:18 erh Exp $ */ /* @@ -35,7 +35,7 @@ #include <compat/svr4/svr4_errno.h> -int svr4_error[] = { +int native_to_svr4_errno[] = { 0, SVR4_EPERM, SVR4_ENOENT, diff --git a/sys/compat/svr4/svr4_exec.c b/sys/compat/svr4/svr4_exec.c index 5ffb76eb8f5..7103ee53de5 100644 --- a/sys/compat/svr4/svr4_exec.c +++ b/sys/compat/svr4/svr4_exec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: svr4_exec.c,v 1.9 1999/11/10 15:55:23 mickey Exp $ */ +/* $OpenBSD: svr4_exec.c,v 1.10 2000/08/23 16:33:20 brad Exp $ */ /* $NetBSD: svr4_exec.c,v 1.16 1995/10/14 20:24:20 christos Exp $ */ /* @@ -51,12 +51,12 @@ #include <compat/svr4/svr4_util.h> #include <compat/svr4/svr4_syscall.h> #include <compat/svr4/svr4_exec.h> +#include <compat/svr4/svr4_errno.h> static void *svr4_copyargs __P((struct exec_package *, struct ps_strings *, void *, void *)); const char svr4_emul_path[] = "/emul/svr4"; -extern int svr4_error[]; extern char svr4_sigcode[], svr4_esigcode[]; extern struct sysent svr4_sysent[]; #ifdef SYSCALL_DEBUG @@ -65,7 +65,7 @@ extern char *svr4_syscallnames[]; struct emul emul_svr4 = { "svr4", - svr4_error, + native_to_svr4_errno, svr4_sendsig, SVR4_SYS_syscall, SVR4_SYS_MAXSYSCALL, |