diff options
author | 2001-05-14 10:59:09 +0000 | |
---|---|---|
committer | 2001-05-14 10:59:09 +0000 | |
commit | ac0305a9600cd5eff90704aeca4e679aef667529 (patch) | |
tree | 6766e52d164564020793a38c7df73c7215b0f01c | |
parent | More generic arguments to pipe_stat. (diff) | |
download | wireguard-openbsd-ac0305a9600cd5eff90704aeca4e679aef667529.tar.xz wireguard-openbsd-ac0305a9600cd5eff90704aeca4e679aef667529.zip |
Ehmm. add support for new pipes to stat.
There is no possibility that this has worked at all.
-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*/ |