From c470144d552c9137beab711b546a8a99c0230a57 Mon Sep 17 00:00:00 2001 From: cgd Date: Fri, 23 Apr 1999 06:15:35 +0000 Subject: [PATCH] use the errno mapping array --- sys/compat/osf1/osf1_misc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/compat/osf1/osf1_misc.c b/sys/compat/osf1/osf1_misc.c index 2412a37ab5e3..f8af4dd93af0 100644 --- a/sys/compat/osf1/osf1_misc.c +++ b/sys/compat/osf1/osf1_misc.c @@ -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 #include +#include #include #include #include @@ -69,7 +70,7 @@ const char osf1_emul_path[] = "/emul/osf1"; struct emul emul_osf1 = { "osf1", - NULL, + netbsd_to_osf1_errno, sendsig, OSF1_SYS_syscall, OSF1_SYS_MAXSYSCALL,