Subject: CVS commit: src/sys/dev/i2c
To: None <source-changes@NetBSD.org>
From: Allen Briggs <briggs@netbsd.org>
List: source-changes
Date: 09/30/2004 18:57:39
Module Name:	src
Committed By:	briggs
Date:		Thu Sep 30 18:57:39 UTC 2004

Modified Files:
	src/sys/dev/i2c: m41t00.c

Log Message:
PR kern/27088 from Jared Momose.  The read function should specify the
length of the command buffer (1) instead of 0.  Otherwise, data will
have an implied offset of 0 and reads at non-0 locations will incorrectly
return the data from 0.  Fix as suggested in the report.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 src/sys/dev/i2c/m41t00.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.