--- src/sys/kern/kern_descrip.c 2006/07/28 02:17:40 1.70 +++ src/sys/kern/kern_descrip.c 2006/08/02 01:25:25 1.71 @@ -2461,16 +2461,14 @@ fildesc_drvinit(void *unused) * MPSAFE */ struct fileops badfileops = { - NULL, /* port */ - NULL, /* clone */ - badfo_readwrite, - badfo_readwrite, - badfo_ioctl, - badfo_poll, - badfo_kqfilter, - badfo_stat, - badfo_close, - badfo_shutdown + .fo_read = badfo_readwrite, + .fo_write = badfo_readwrite, + .fo_ioctl = badfo_ioctl, + .fo_poll = badfo_poll, + .fo_kqfilter = badfo_kqfilter, + .fo_stat = badfo_stat, + .fo_close = badfo_close, + .fo_shutdown = badfo_shutdown }; /*