From cab10cc1d1135a912a7bd2d6178c8e951405167e Mon Sep 17 00:00:00 2001 From: Bryan Venteicher Date: Sat, 13 Jun 2015 16:13:31 +0000 Subject: [PATCH] Fix typo when deregistering the VLAN unconfig event handler Submitted by: Masao Uebayashi MFC after: 3 days --- sys/dev/virtio/network/if_vtnet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/virtio/network/if_vtnet.c b/sys/dev/virtio/network/if_vtnet.c index 704a3d95a54..232d2c9484c 100644 --- a/sys/dev/virtio/network/if_vtnet.c +++ b/sys/dev/virtio/network/if_vtnet.c @@ -443,7 +443,7 @@ vtnet_detach(device_t dev) sc->vtnet_vlan_attach = NULL; } if (sc->vtnet_vlan_detach != NULL) { - EVENTHANDLER_DEREGISTER(vlan_unconfg, sc->vtnet_vlan_detach); + EVENTHANDLER_DEREGISTER(vlan_unconfig, sc->vtnet_vlan_detach); sc->vtnet_vlan_detach = NULL; }