svn commit: r238719 - stable/9/sys/dev/ata

Alexander Motin mav at FreeBSD.org
Mon Jul 23 15:19:22 UTC 2012


Author: mav
Date: Mon Jul 23 15:19:21 2012
New Revision: 238719
URL: http://svn.freebsd.org/changeset/base/238719

Log:
  MFC r238666:
  Fix typo in bzero() length argument during sense fetching.
  For me it at least fixed CD burning in PIO mode.
  
  Approved by:	re (kib)

Modified:
  stable/9/sys/dev/ata/ata-all.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/ata/ata-all.c
==============================================================================
--- stable/9/sys/dev/ata/ata-all.c	Mon Jul 23 15:14:28 2012	(r238718)
+++ stable/9/sys/dev/ata/ata-all.c	Mon Jul 23 15:19:21 2012	(r238719)
@@ -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-stable-9 mailing list