aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Venteicher <bryanv@FreeBSD.org>2015-06-13 16:13:31 +0000
committerBryan Venteicher <bryanv@FreeBSD.org>2015-06-13 16:13:31 +0000
commitcab10cc1d1135a912a7bd2d6178c8e951405167e (patch)
tree6bea64c19064e042d3709c0b1c2e938655528353
parent4b9775d88cc73724aa4febd8f984562370334377 (diff)
downloadsrc-cab10cc1d1135a912a7bd2d6178c8e951405167e.tar.gz
src-cab10cc1d1135a912a7bd2d6178c8e951405167e.zip
Fix typo when deregistering the VLAN unconfig event handler
Submitted by: Masao Uebayashi <uebayasi@tombiinc.com> MFC after: 3 days
Notes
Notes: svn path=/head/; revision=284342
-rw-r--r--sys/dev/virtio/network/if_vtnet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/virtio/network/if_vtnet.c b/sys/dev/virtio/network/if_vtnet.c
index 704a3d95a54d..232d2c9484cd 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;
}