From 99f2f1df3745a263ce83cc77de60d34e6fc66f33 Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Mon, 14 May 2001 10:59:10 +0000 Subject: Ehmm. add support for new pipes to stat. There is no possibility that this has worked at all. --- sys/compat/osf1/osf1_descrip.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/compat/osf1/osf1_descrip.c b/sys/compat/osf1/osf1_descrip.c index a9123899768..c793dfef8a4 100644 --- a/sys/compat/osf1/osf1_descrip.c +++ b/sys/compat/osf1/osf1_descrip.c @@ -1,4 +1,4 @@ -/* $OpenBSD: osf1_descrip.c,v 1.1 2000/08/04 15:47:54 ericj Exp $ */ +/* $OpenBSD: osf1_descrip.c,v 1.2 2001/05/14 10:59:09 art Exp $ */ /* $NetBSD: osf1_descrip.c,v 1.5 1999/06/26 01:24:41 cgd Exp $ */ /* @@ -259,6 +259,12 @@ osf1_sys_fstat(p, v, retval) error = soo_stat((struct socket *)fp->f_data, &ub); break; +#ifndef OLD_PIPE + case DTYPE_PIPE: + error = pipe_stat(fp, &sb, p); + break; +#endif + default: panic("ofstat"); /*NOTREACHED*/ -- cgit v1.2.3