svn commit: r238666 - head/sys/dev/ata
Alexander Motin
mav at FreeBSD.org
Sat Jul 21 08:19:44 UTC 2012
Author: mav
Date: Sat Jul 21 08:19:43 2012
New Revision: 238666
URL: http://svn.freebsd.org/changeset/base/238666
Log:
Fix typo in bzero length argument during sense fetching.
For me it at least fixed CD burning in PIO mode.
MFC after: 3 days
Modified:
head/sys/dev/ata/ata-all.c
Modified: head/sys/dev/ata/ata-all.c
==============================================================================
--- head/sys/dev/ata/ata-all.c Sat Jul 21 07:14:52 2012 (r238665)
+++ head/sys/dev/ata/ata-all.c Sat Jul 21 08:19:43 2012 (r238666)
@@ -1532,7 +1532,7 @@ ata_cam_request_sense(device_t dev, stru
ch->requestsense = 1;
- bzero(request, sizeof(&request));
+ bzero(request, sizeof(*request));
request->dev = NULL;
request->parent = dev;
request->unit = ccb->ccb_h.target_id;
More information about the svn-src-head
mailing list