diff options
| author | Peter Wemm <peter@FreeBSD.org> | 1996-01-30 12:23:17 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 1996-01-30 12:23:17 +0000 |
| commit | 8cbf6e5894a32a79ad4b8cf8742619c3b0b975c2 (patch) | |
| tree | 72d347334df6c102f854ef8a34b8a4b50c6f41c9 /sys/compat/linux | |
| parent | 685a5a0b5114277eb863dd8c49f2149bbd9989a6 (diff) | |
Notes
Diffstat (limited to 'sys/compat/linux')
| -rw-r--r-- | sys/compat/linux/linux_stats.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_stats.c b/sys/compat/linux/linux_stats.c index 8756f095b275..327343bd544f 100644 --- a/sys/compat/linux/linux_stats.c +++ b/sys/compat/linux/linux_stats.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: linux_stats.c,v 1.2 1995/08/28 09:18:38 julian Exp $ + * $Id: linux_stats.c,v 1.3 1995/11/22 07:43:51 bde Exp $ */ #include <sys/param.h> @@ -39,6 +39,7 @@ #include <sys/socketvar.h> #include <sys/stat.h> #include <sys/vnode.h> +#include <sys/pipe.h> #include <i386/linux/linux.h> #include <i386/linux/sysproto.h> @@ -163,6 +164,9 @@ linux_newfstat(struct proc *p, struct linux_newfstat_args *args, int *retval) case DTYPE_SOCKET: error = soo_stat((struct socket *)fp->f_data, &buf); break; + case DTYPE_PIPE: + error = pipe_stat((struct pipe *)fp->f_data, &buf); + break; default: panic("LINUX newfstat"); } |
