diff options
author | bryanv <bryanv@FreeBSD.org> | 2015-06-13 16:13:31 +0000 |
---|---|---|
committer | bryanv <bryanv@FreeBSD.org> | 2015-06-13 16:13:31 +0000 |
commit | 9c7d3132bfe16d56cf42cff4126ecc32c4dbc2a9 (patch) | |
tree | 6bea64c19064e042d3709c0b1c2e938655528353 | |
parent | 07ac2db9a63acb40d235b21555911b20a6b468cc (diff) | |
download | FreeBSD-src-9c7d3132bfe16d56cf42cff4126ecc32c4dbc2a9.zip FreeBSD-src-9c7d3132bfe16d56cf42cff4126ecc32c4dbc2a9.tar.gz |
Fix typo when deregistering the VLAN unconfig event handler
Submitted by: Masao Uebayashi <uebayasi@tombiinc.com>
MFC after: 3 days
-rw-r--r-- | sys/dev/virtio/network/if_vtnet.c | 2 |
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 704a3d9..232d2c9 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; } |