Subject: CVS commit: src/sys/dev/scsipi
To: None <source-changes@NetBSD.org>
From: Reinoud Zandijk <firstname.lastname@example.org>
Date: 08/31/2006 19:46:55
Module Name: src
Committed By: reinoud
Date: Thu Aug 31 19:46:55 UTC 2006
Fix fencing bug on CD disk size; the comment was wrong, its the *length* of
the device and since we count from zero its equal to the number of sectors
and thus one higher than the last sector.
This fixes the read/write problems on the (raw) device where the last
sector was not readable/writable.
To generate a diff of this commit:
cvs rdiff -r1.244 -r1.245 src/sys/dev/scsipi/cd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.