summaryrefslogtreecommitdiffstats
path: root/sys/kern/sys_pipe.c
diff options
context:
space:
mode:
authorart <art@openbsd.org>2001-05-14 12:38:46 +0000
committerart <art@openbsd.org>2001-05-14 12:38:46 +0000
commit212b11874e4bdc139ddd3135e5b55310a58e20e2 (patch)
tree885557734e50f1562b5f5c232beac2ffecf1c783 /sys/kern/sys_pipe.c
parentSpeed-up: (diff)
downloadwireguard-openbsd-212b11874e4bdc139ddd3135e5b55310a58e20e2.tar.xz
wireguard-openbsd-212b11874e4bdc139ddd3135e5b55310a58e20e2.zip
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);