Fix build with QUEUE_MACRO_DEBUG.

Submitted by:	benno@
MFC after:	3 days
This commit is contained in:
Alexander Motin 2014-07-24 14:10:58 +00:00
parent 9be09a6e43
commit e2507751a6

View file

@ -815,7 +815,7 @@ ctl_backend_ramdisk_lun_shutdown(void *be_lun)
if (lun->flags & CTL_BE_RAMDISK_LUN_WAITING) {
wakeup(lun);
} else {
STAILQ_REMOVE(&softc->lun_list, be_lun, ctl_be_ramdisk_lun,
STAILQ_REMOVE(&softc->lun_list, lun, ctl_be_ramdisk_lun,
links);
softc->num_luns--;
do_free = 1;