summaryrefslogtreecommitdiff
path: root/sys/kern/sys_socket.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2003-06-18 18:16:40 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2003-06-18 18:16:40 +0000
commit7c2d2efd58fb9c7863ecacc59b3d05b6fd800962 (patch)
tree8874c626d5d6663ddb7c81a0cd34260b7bdf70b8 /sys/kern/sys_socket.c
parentd58a33063ad14d3226e7da399d54d7b5c21acb7f (diff)
Notes
Diffstat (limited to 'sys/kern/sys_socket.c')
-rw-r--r--sys/kern/sys_socket.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/kern/sys_socket.c b/sys/kern/sys_socket.c
index 7fe1b86006e0..879e83d9e3e8 100644
--- a/sys/kern/sys_socket.c
+++ b/sys/kern/sys_socket.c
@@ -57,8 +57,14 @@ __FBSDID("$FreeBSD$");
#include <net/route.h>
struct fileops socketops = {
- soo_read, soo_write, soo_ioctl, soo_poll, soo_kqfilter,
- soo_stat, soo_close, DFLAG_PASSABLE
+ .fo_read = soo_read,
+ .fo_write = soo_write,
+ .fo_ioctl = soo_ioctl,
+ .fo_poll = soo_poll,
+ .fo_kqfilter = soo_kqfilter,
+ .fo_stat = soo_stat,
+ .fo_close = soo_close,
+ .fo_flags = DFLAG_PASSABLE
};
/* ARGSUSED */