summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1996-02-02 20:43:11 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1996-02-02 20:43:11 +0000
commitb03135a62b706d7636ea9f8e5b257bfee1d092da (patch)
tree47e73cbfffadddb5a89b6f1fba5e1125e0ebc7d6 /sys
parentfd04d24d6b689b070a643fa7b0e511322356dfaa (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/scsi/cd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/scsi/cd.c b/sys/scsi/cd.c
index 0555c9435469..f661a85b3e1f 100644
--- a/sys/scsi/cd.c
+++ b/sys/scsi/cd.c
@@ -14,7 +14,7 @@
*
* Ported to run under 386BSD by Julian Elischer (julian@tfs.com) Sept 1992
*
- * $Id: cd.c,v 1.62 1996/02/01 16:22:58 ache Exp $
+ * $Id: cd.c,v 1.63 1996/02/01 17:35:15 ache Exp $
*/
#include "opt_bounce.h"
@@ -818,8 +818,8 @@ cd_ioctl(dev_t dev, int cmd, caddr_t addr, int flag, struct proc *p,
error = cd_read_toc(unit, te->address_format,
readtrack,
- data.entries,
- readlen);
+ (struct cd_toc_entry *)&data,
+ readlen + sizeof (*th));
if (error)
break;