diff --git a/sys/cam/cam_queue.c b/sys/cam/cam_queue.c index 1262b6e139bf..3ec7ad2006f9 100644 --- a/sys/cam/cam_queue.c +++ b/sys/cam/cam_queue.c @@ -25,7 +25,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: cam_queue.c,v 1.2 1999/04/07 22:57:48 gibbs Exp $ + * $Id: cam_queue.c,v 1.3 1999/04/19 21:26:08 gibbs Exp $ */ #include #include @@ -242,8 +242,8 @@ cam_devq_init(struct cam_devq *devq, int devices, int openings) void cam_devq_free(struct cam_devq *devq) { - camq_free(&devq->alloc_queue); - camq_free(&devq->send_queue); + camq_fini(&devq->alloc_queue); + camq_fini(&devq->send_queue); free(devq, M_DEVBUF); }