diff stream/vcd_read_fbsd.h @ 25873:cf37007e1817

vcd_read must read exactly VCD_SECTOR_DATA bytes. If NetBSD can not handle this setting, the code must be rewritten to use a temporary buffer.
author reimar
date Mon, 28 Jan 2008 12:18:05 +0000
parents aef6ff061c9a
children 04f59a060070
line wrap: on
line diff
--- a/stream/vcd_read_fbsd.h	Mon Jan 28 12:11:41 2008 +0000
+++ b/stream/vcd_read_fbsd.h	Mon Jan 28 12:18:05 2008 +0000
@@ -206,7 +206,7 @@
   sc.cmd[10] = 0;     // no subchannel
   sc.cmdlen = 12;
   sc.databuf = (caddr_t) mem;
-  sc.datalen = 2328;
+  sc.datalen = VCD_SECTOR_DATA;
   sc.senselen = sizeof(sc.sense);
   sc.flags = SCCMD_READ;
   sc.timeout = 10000;