diff options
author | gibbs <gibbs@FreeBSD.org> | 1999-04-19 21:26:17 +0000 |
---|---|---|
committer | gibbs <gibbs@FreeBSD.org> | 1999-04-19 21:26:17 +0000 |
commit | 7e60d5189b854d454246cf3ca43f4eaae595acf0 (patch) | |
tree | 3daf8d764cc58254de960a58f1e1f1cbb4208aa2 /sys/cam | |
parent | 752ab9a8587b6cc446cde857f5bb2361eed5c846 (diff) | |
download | FreeBSD-src-7e60d5189b854d454246cf3ca43f4eaae595acf0.zip FreeBSD-src-7e60d5189b854d454246cf3ca43f4eaae595acf0.tar.gz |
Use macros for accessing the head of the heap so that code
is isolated from implementation details of the heap.
Diffstat (limited to 'sys/cam')
-rw-r--r-- | sys/cam/scsi/scsi_cd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/cam/scsi/scsi_cd.c b/sys/cam/scsi/scsi_cd.c index d2ab42f..787abc7 100644 --- a/sys/cam/scsi/scsi_cd.c +++ b/sys/cam/scsi/scsi_cd.c @@ -24,7 +24,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: scsi_cd.c,v 1.15 1999/02/10 00:03:14 ken Exp $ + * $Id: scsi_cd.c,v 1.16 1999/04/07 22:57:54 gibbs Exp $ */ /* * Portions of this driver taken from the original FreeBSD cd driver. @@ -1189,7 +1189,7 @@ cdrunchangerqueue(void *arg) } } - softc = (struct cd_softc *)camq_remove(&changer->devq, 0); + softc = (struct cd_softc *)camq_remove(&changer->devq, CAMQ_HEAD); changer->cur_device = softc; |