From 1de56aa05e6fe37d35c657195d234045c788f3a3 Mon Sep 17 00:00:00 2001 From: Volker Ruppert Date: Sun, 28 May 2017 08:45:23 +0000 Subject: [PATCH] Fixed plugins case (unloading module). --- bochs/iodev/usb/usb_common.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bochs/iodev/usb/usb_common.cc b/bochs/iodev/usb/usb_common.cc index bd5931083..7ba4e1427 100644 --- a/bochs/iodev/usb/usb_common.cc +++ b/bochs/iodev/usb/usb_common.cc @@ -295,7 +295,7 @@ void usbdev_locator_c::cleanup() { #if BX_PLUGINS while (all != NULL) { - PLUG_unload_usb_plugin(usbmod_names[all->type]); + PLUG_unload_usb_plugin(all->type); } #endif }