Date: Sat, 21 Jul 2012 08:19:43 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r238666 - head/sys/dev/ata Message-ID: <201207210819.q6L8JhLe005312@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207210819.q6L8JhLe005312>