diff options
author | kstailey <kstailey@cvs.openbsd.org> | 1999-09-22 01:35:02 +0000 |
---|---|---|
committer | kstailey <kstailey@cvs.openbsd.org> | 1999-09-22 01:35:02 +0000 |
commit | eb6ecd0ecc320b4fd89cc580008347bddb7427fe (patch) | |
tree | ab2e4d1a727db079c7e5a7d5f201f684a9518aab /sys | |
parent | 7e9aa4440e5cad761a37e870130fd97185fee5fe (diff) |
pipe_stat()
Diffstat (limited to 'sys')
-rw-r--r-- | sys/compat/netbsd/netbsd_stat.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/compat/netbsd/netbsd_stat.c b/sys/compat/netbsd/netbsd_stat.c index 77acb9561c6..97fd12b848f 100644 --- a/sys/compat/netbsd/netbsd_stat.c +++ b/sys/compat/netbsd/netbsd_stat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: netbsd_stat.c,v 1.4 1999/09/17 22:14:09 kstailey Exp $ */ +/* $OpenBSD: netbsd_stat.c,v 1.5 1999/09/22 01:35:01 kstailey Exp $ */ /* * Copyright (c) 1989, 1993 * The Regents of the University of California. All rights reserved. @@ -46,6 +46,7 @@ #include <sys/proc.h> #include <sys/socketvar.h> #include <sys/stat.h> +#include <sys/pipe.h> #include <sys/mount.h> #include <sys/namei.h> #include <sys/vnode.h> @@ -204,6 +205,12 @@ netbsd_sys___fstat13(p, v, retval) error = soo_stat((struct socket *)fp->f_data, &sb); break; +#ifndef OLD_PIPE + case DTYPE_PIPE: + error = pipe_stat((struct pipe *)fp->f_data, &sb); + break; +#endif + default: panic("fstat"); /*NOTREACHED*/ |