]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/kern/sys_socket.c
xnu-3789.70.16.tar.gz
[apple/xnu.git] / bsd / kern / sys_socket.c
index 11df996b60e4257aacd8629b67fe8ca8a3f926b9..7b9e78b6f4ba80638dbb2d3a88bba6d322737e8a 100644 (file)
@@ -98,14 +98,14 @@ static int soo_close(struct fileglob *, vfs_context_t ctx);
 static int soo_drain(struct fileproc *, vfs_context_t ctx);
 
 const struct fileops socketops = {
-       DTYPE_SOCKET,
-       soo_read,
-       soo_write,
-       soo_ioctl,
-       soo_select,
-       soo_close,
-       soo_kqfilter,
-       soo_drain
+       .fo_type = DTYPE_SOCKET,
+       .fo_read = soo_read,
+       .fo_write = soo_write,
+       .fo_ioctl = soo_ioctl,
+       .fo_select = soo_select,
+       .fo_close = soo_close,
+       .fo_kqfilter = soo_kqfilter,
+       .fo_drain = soo_drain,
 };
 
 /* ARGSUSED */