Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/osf1 use the errno mapping array



details:   https://anonhg.NetBSD.org/src/rev/88f30023a331
branches:  trunk
changeset: 472155:88f30023a331
user:      cgd <cgd%NetBSD.org@localhost>
date:      Fri Apr 23 06:15:35 1999 +0000

description:
use the errno mapping array

diffstat:

 sys/compat/osf1/osf1_misc.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 34b43fa122f1 -r 88f30023a331 sys/compat/osf1/osf1_misc.c
--- a/sys/compat/osf1/osf1_misc.c       Fri Apr 23 06:07:55 1999 +0000
+++ b/sys/compat/osf1/osf1_misc.c       Fri Apr 23 06:15:35 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: osf1_misc.c,v 1.15 1999/02/09 20:34:16 christos Exp $  */
+/*     $NetBSD: osf1_misc.c,v 1.16 1999/04/23 06:15:35 cgd Exp $       */
 
 /*
  * Copyright (c) 1994, 1995 Carnegie-Mellon University.
@@ -46,6 +46,7 @@
 #include <sys/vnode.h>
 #include <sys/socketvar.h>
 
+#include <compat/osf1/osf1_errno.h>
 #include <compat/osf1/osf1_syscall.h>
 #include <compat/osf1/osf1_syscallargs.h>
 #include <compat/osf1/osf1_util.h>
@@ -69,7 +70,7 @@
 
 struct emul emul_osf1 = {
        "osf1",
-       NULL,
+       netbsd_to_osf1_errno,
        sendsig,
        OSF1_SYS_syscall,
        OSF1_SYS_MAXSYSCALL,



Home | Main Index | Thread Index | Old Index