summaryrefslogtreecommitdiff
path: root/sys/kern/sys_pipe.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-05-14 12:38:49 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-05-14 12:38:49 +0000
commit87302a0a3d2b0cb6b4a107263f308e43460c1152 (patch)
treebed603da211687fd208a1fce6dde81cdf0f7b0a9 /sys/kern/sys_pipe.c
parent003e5aab58f12d945ba58cb321b7853177978261 (diff)
Add a fo_stat member to struct fileops. Used soon.
Also add a stat function for kqueue from FreeBSD.
Diffstat (limited to 'sys/kern/sys_pipe.c')
-rw-r--r--sys/kern/sys_pipe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/sys_pipe.c b/sys/kern/sys_pipe.c
index e687f3e850f..3509fe89246 100644
--- a/sys/kern/sys_pipe.c
+++ b/sys/kern/sys_pipe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sys_pipe.c,v 1.28 2001/05/14 10:51:26 art Exp $ */
+/* $OpenBSD: sys_pipe.c,v 1.29 2001/05/14 12:38:47 art Exp $ */
/*
* Copyright (c) 1996 John S. Dyson
@@ -72,7 +72,7 @@ int pipe_ioctl __P((struct file *, u_long, caddr_t, struct proc *));
static struct fileops pipeops = {
pipe_read, pipe_write, pipe_ioctl, pipe_select, pipe_kqfilter,
- pipe_close
+ pipe_stat, pipe_close
};
void filt_pipedetach(struct knote *kn);