Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jul 2012 15:20:52 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r238720 - stable/8/sys/dev/ata
Message-ID:  <201207231520.q6NFKq9F021873@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Mon Jul 23 15:20:52 2012
New Revision: 238720
URL: http://svn.freebsd.org/changeset/base/238720

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

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

Modified: stable/8/sys/dev/ata/ata-all.c
==============================================================================
--- stable/8/sys/dev/ata/ata-all.c	Mon Jul 23 15:19:21 2012	(r238719)
+++ stable/8/sys/dev/ata/ata-all.c	Mon Jul 23 15:20:52 2012	(r238720)
@@ -1531,7 +1531,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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207231520.q6NFKq9F021873>