diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-05-14 10:59:10 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-05-14 10:59:10 +0000 |
commit | 99f2f1df3745a263ce83cc77de60d34e6fc66f33 (patch) | |
tree | 717e47f05d2b37569fbd05074b5ed27c404f4888 /sys | |
parent | 79a7474f3a12e31e9c0d6d36e0bbd46918bdff21 (diff) |
Ehmm. add support for new pipes to stat.
There is no possibility that this has worked at all.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/compat/osf1/osf1_descrip.c | 8 |
1 files changed, 7 insertions, 1 deletions
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*/ |