summaryrefslogtreecommitdiffstats
path: root/sys/cam/scsi
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2009-09-08 13:19:05 +0000
committerphk <phk@FreeBSD.org>2009-09-08 13:19:05 +0000
commit52972616516a18e69bb2849c2f2e718ee644b27f (patch)
tree9f7c1709b6ce492cd874120e81e8a117cab4ca7d /sys/cam/scsi
parent2314521104388ada19392a3b2cdaca4ba6f82243 (diff)
downloadFreeBSD-src-52972616516a18e69bb2849c2f2e718ee644b27f.zip
FreeBSD-src-52972616516a18e69bb2849c2f2e718ee644b27f.tar.gz
Revert previous commit and add myself to the list of people who should
know better than to commit with a cat in the area.
Diffstat (limited to 'sys/cam/scsi')
-rw-r--r--sys/cam/scsi/scsi_cd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cam/scsi/scsi_cd.c b/sys/cam/scsi/scsi_cd.c
index 52f7311..287c6b6 100644
--- a/sys/cam/scsi/scsi_cd.c
+++ b/sys/cam/scsi/scsi_cd.c
@@ -2528,7 +2528,7 @@ cdioctl(struct disk *dp, u_long cmd, void *addr, int flag, struct thread *td)
error = cdgetmode(periph, &params, AUDIO_PAGE);
if (error) {
- free(&params.mode_buf, M_SCSICD);
+ free(&params, M_SCSICD);
cam_periph_unlock(periph);
break;
}
OpenPOWER on IntegriCloud