From 9c4c84c97e7d3850ccdd9cfd8a3747dd780deb21 Mon Sep 17 00:00:00 2001 From: mycroft Date: Mon, 15 Aug 1994 22:08:55 +0000 Subject: [PATCH] Need ofstat() for iBCS2 syscall conversion. --- sys/kern/kern_descrip.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/kern/kern_descrip.c b/sys/kern/kern_descrip.c index ed9454b71d60..d7c08b33f406 100644 --- a/sys/kern/kern_descrip.c +++ b/sys/kern/kern_descrip.c @@ -1,4 +1,4 @@ -/* $NetBSD: kern_descrip.c,v 1.22 1994/06/29 06:32:23 cgd Exp $ */ +/* $NetBSD: kern_descrip.c,v 1.23 1994/08/15 22:08:55 mycroft Exp $ */ /* * Copyright (c) 1982, 1986, 1989, 1991, 1993 @@ -351,7 +351,7 @@ close(p, uap, retval) return (closef(fp, p)); } -#if defined(COMPAT_43) || defined(COMPAT_SUNOS) +#if defined(COMPAT_43) || defined(COMPAT_SUNOS) || defined(COMPAT_IBCS2) /* * Return status information about a file descriptor. */ @@ -393,7 +393,7 @@ ofstat(p, uap, retval) error = copyout((caddr_t)&oub, (caddr_t)uap->sb, sizeof (oub)); return (error); } -#endif /* COMPAT_43 || COMPAT_SUNOS */ +#endif /* COMPAT_43 || COMPAT_SUNOS || COMPAT_IBCS2 */ /* * Return status information about a file descriptor.