diff --git a/stand/common/dev_net.c b/stand/common/dev_net.c index 70b571047d56..24bfbe9636e3 100644 --- a/stand/common/dev_net.c +++ b/stand/common/dev_net.c @@ -86,15 +86,15 @@ static int net_print(int); static int net_getparams(int sock); struct devsw netdev = { - "net", - DEVT_NET, - net_init, - net_strategy, - net_open, - net_close, - noioctl, - net_print, - net_cleanup + .dv_name = "net", + .dv_type = DEVT_NET, + .dv_init = net_init, + .dv_strategy = net_strategy, + .dv_open = net_open, + .dv_close = net_close, + .dv_ioctl = noioctl, + .dv_print = net_print, + .dv_cleanup = net_cleanup, }; static struct uri_scheme {